daetnum for a formatin

조회 수: 3 (최근 30일)
Rica
Rica 2014년 9월 5일
답변: Adam 2014년 9월 5일
hi all, is it possible to use this Format for datenum?
formatIn='dd.mm.yyyyHH:MM'
thank you

채택된 답변

Adam
Adam 2014년 9월 5일
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개)

카테고리

Help CenterFile Exchange에서 Time Series Objects에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by