hi all, is it possible to use this Format for datenum?
formatIn='dd.mm.yyyyHH:MM'
thank you

 採用された回答

Adam
Adam 2014 年 9 月 5 日

0 投票

d = '03.07.201312:00'
datenum( d, 'dd.mm.yyyyHH:MM' )
ans =
735418.5
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!

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDates and Time についてさらに検索

タグ

質問済み:

2014 年 9 月 5 日

回答済み:

2014 年 9 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by