Datenum function and conversion

13 Ansichten (letzte 30 Tage)
Kaique Silva
Kaique Silva am 15 Jun. 2015
Bearbeitet: James Tursa am 15 Jun. 2015
I am using the Datenum function in my code, and my instructor has asked me to use the data in milliseconds. The result of the Datenum is in days, correct? So, I just need to convert the result to miliseconds (1 day = 86400000 ms), am I right?

Akzeptierte Antwort

James Tursa
James Tursa am 15 Jun. 2015
Bearbeitet: James Tursa am 15 Jun. 2015
Yes, datenum values are in days, and there are 86400000 ms in a day. So your conversion is correct. You might be interested in this related post:

Weitere Antworten (0)

Kategorien

Mehr zu Dates and Time finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by