how get date fromthe long number?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
huda nawaf
il 23 Ago 2022
Commentato: Star Strider
il 28 Ago 2022
Hi,
The following number represent date
1246573330
How get a date from it ? where I tried datenum,datestr, and datevec, but does not working
Thanks
2 Commenti
Risposta accettata
Star Strider
il 23 Ago 2022
Spostato: Steven Lord
il 23 Ago 2022
D = 1246573330;
DT1 = datetime(D, 'ConvertFrom','datenum')
DT2 = datetime(D, 'ConvertFrom','excel')
DT3 = datetime(D, 'ConvertFrom','posixtime')
DT4 = datetime(D, 'ConvertFrom','juliandate')
.
10 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Dates and Time in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!