Hi there, I have a date variable with thousands of dates in the format mmddyy i would like to convert it to a yyyymmdd format. A problem i am having is whenever the month is bellow 10 the 0 is missing e.g. rather than reading 012988 it reads 12988. Thank-you
MATLAB: How to convert date variable with varying length
date
Related Question
- Date computations in a table
- Using datenum over several years
- Open and read monthly dataseries with the filename ‘yyyymmdd’
- Date conversion in a number format
- How to extract Jan and feb dates from an array of date strings
- Please help!!!! Write a function that returns the number of days between dates
- Using panel data, how can I create a new table with weekly price data based on a table with daily price data, for every stock
Best Answer