daetnum for a formatin

3 views (last 30 days)
Rica on 5 Sep 2014
Answered: Adam on 5 Sep 2014
hi all, is it possible to use this Format for datenum?
thank you

Accepted Answer

Adam on 5 Sep 2014
d = '03.07.201312:00'
datenum( d, 'dd.mm.yyyyHH:MM' )
ans =
datestr( ans )
ans =
03-Jul-2013 12:00:00
Yes, it seems to be. Wouldn't it have been faster to just try it than ask here though?! I've never used the function before, but I just typed in exactly what you asked to find out the answer!

More Answers (0)


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!