I am looking to convert dates of the following 8-diit input format "20171203" (3rd December 2017) into a proper date string which I can use for the x-axis of a graph. The dates are stored in a large 8784×1 matrix, with 24 date entries per day over a year. Can anyone help?
MATLAB: How to convert 8 digit “20171203” date to proper format
convertdateformat
Best Answer