A compact way to extract a date from a filename and transform it into a datetime
3 views (last 30 days)
Show older comments
A compact way to extract a date from a filename and transform it into a datetime ?
E.g. from
'20210317.csv'
to
ans =
datetime
17-Mar-2021
0 Comments
Accepted Answer
More Answers (0)
See Also
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!