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.

回答(1 个)

Cedric
Cedric 2013-3-12
编辑:Cedric 2013-3-12
Your permuted minutes (MM) and month (mm) identifiers.

类别

帮助中心File Exchange 中查找有关 Time Series Objects 的更多信息

标签

提问:

Yan
2013-3-12

Community Treasure Hunt

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

Start Hunting!

Translated by