datenum does not give monotonically increasing result

datenum('12-5-2010 23:55:00','dd-MM-yyyy HH:mm:ss')
ans =
7.3579e+05
datenum('13-5-2010 00:00:00','dd-MM-yyyy HH:mm:ss')
ans =
7.3412e+05
How comes that 12-5 < 13-5????
Anyone can help me?
Thanks in advance.

Réponses (1)

Cedric
Cedric le 12 Mar 2013
Modifié(e) : Cedric le 12 Mar 2013

1 vote

Your permuted minutes (MM) and month (mm) identifiers.

Catégories

Tags

Question posée :

Yan
le 12 Mar 2013

Community Treasure Hunt

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

Start Hunting!

Translated by