I have a problem with dates when I import a time series from excel to matlab using the 'xlsread' command. For example, in my excel spreadsheet a date/time as of 09.12.13 09:03 (December 9th, 2013) translates in number equal to 41617.37708333330. When I import it to matlab, in serial date number type it remains the same 41617.37708333330 but when I convert it to a date string or date vector type (using the command detester or respectively datevec) it translates in
10-Dec-0113 09:03:00 or [113 12 10 9 3 0]
i.e. one day after (10 instead of 9) and a different year (0113 instead of 2013).
Does anybody know why it is the case and how to solve it?
thank you in advance for any help.
John