How to convert the following UTC to serial date number?
6 views (last 30 days)
Anirban Mandal on 25 Jan 2022
I have a UTC data in the format YYYY-DOYThh:mm:ss.fffZ (Example-2018-345T02:19:02.175Z). What format can I use for it to convert it into serial date number using datenum? The main issue I am facing is with the format DOY as I wasn't able to find any suitable format for this in the datenum documentation. However, I can take care of the rest of them easily. Here I am attaching a sample code I used for this case. The first line is there as I am extracting UTC from a dataset.
format='yyyy-HH:MM:SS:FFF';%This is incomplete as I have not incorporated DOY format here