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 日

1 投票

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

カテゴリ

ヘルプ センター および File ExchangeTime 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