MATLAB: Convert Serial numbers to conventional date

date conversion

Hi,
I would like to convert these serial number 17067072 to conventional date such as mm-dd-yyyy.
I have a column vector of such dates to convert. I downloaded data in netCDF format, converted to ASCII and now have to convert the dates for easy interpretation.
I could convert using 'datestr' but my dates have 8 values as above.
I appreciate your effort.
Thanks.

Best Answer

datestr() can handle column vectors of serial date numbers.