MATLAB: What is this eror and what does it mean and how can i solve it

datenumوeror

what is this eror and what does it mean and how can i solve it ?
((Error using datenum (line 178) DATENUM failed.
Error in get_the_week_timestamps (line 9) Current_date=floor(datenum(Start_date));
Error in vahid (line 46) [Weekly_data_time_stamps]= get_the_week_timestamps (Start_date,End_date);
Caused by: Error using datevec (line 247) Too many time fields in 13-mars-2016 00:00:00-08:00.))

Best Answer

datenum cannot handle time ranges.
Possibly the -08:00 is intended to be a timezone offset. datenum cannot handle timezones at all. But the newer datetime() can handle timezones.