I am having troubles converting a column in a table from Serial Date Numbers to dd–mm-yyyy, does any one have a clue on how to solve it?
The table (T1) contans 4977 rows and 32 columns with the first column containing the Serial Date Numbers.
This is how far i got.
T1{:,1} = datetime(T1{:,1},'ConvertFrom','datenum','Format','yyyy-MM-dd');
It gives me this error:
"The following error occurred converting from datetime to double:
Undefined function 'double' for input arguments of type 'datetime'. To convert from datetimes to numeric, first subtract off a datetime origin, then convert to numeric using the SECONDS, MINUTES, HOURS, DAYS, or YEARS functions."
Best Answer