How to split multiple numbers which is one number from data file?
Show older comments
202021031200
this is has year date and time, how do I split the numbers into year date and time?
Answers (1)
D = 202021031200;
T = datetime(string(D), 'InputFormat', 'uuuuddMMHHmm')
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!