How to split multiple numbers which is one number from data file?

Réponses (1)

D = 202021031200;
T = datetime(string(D), 'InputFormat', 'uuuuddMMHHmm')
T = datetime
21-Mar-2020 12:00:00

Catégories

Produits

Version

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by