How i can convert the list of date/time in to my local date format and let me know which format is it? Example: From 1992.752225 1992.765914 1992.779603 ................2018.460643 to dd/mm/yyyy or 'dd-mm-yyyy HH:MM:SS'
John Williams answered .
2025-11-20
d = [1992.752225; 1992.765914; 1992.779603; 2018.460643]; datetime(floor(d), 1, 1) + years(mod(d,1))
fd = floor(d); datetime(fd, 1, 1) + (d-fd) .* days(365+leapyear(fd))