My data is a .txt file with the first three fields beining the date time in the following format:
year doy timez
2017 100 04:03:00 Z
I used
D=datevec(datenum(year,1,doy));
D=datetime(D);
to get the year, month, day and 00:00:00
but I can't seem to get the timez to parse out. timez was imported into a table as a cell whereas year and doy were imported as double.
Best Answer