Convert different datetimes into one format
Show older comments
Hi everyone,
I'm having 2 different date types (1300 rows) in one column (see below). How can I convert them into one date form. I tried different suggestions, it worked only for one type the other one showed NaT. I would prefer (xx/yy/zzzz). I appreciate your help.
'03-Sep-2009'
'17/3/2009'
'05-Feb-2009'
'05-Apr-2009'
'05-Sep-2009'
'18/5/2009'
'25/5/2009'
'28/5/2009'
'28/5/2009'
'28/5/2009'
'06-Feb-2009'
'06-Mar-2009'
'06-Apr-2009'
'06-Apr-2009'
'06-Apr-2009'
'06-Apr-2009'
'06-Apr-2009'
'06-Apr-2009'
'06-Apr-2009'
Accepted Answer
More Answers (0)
Categories
Find more on Dates and Time in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!