I want to convert from milliseconds to a date using excell 1904 format
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
so i have a vector of millisecond, and I want to convert in one date. The standard utilizated for caught this time is the excell 1904, there exsist something that convert it automaticalli on matlab ?
0 Kommentare
Antworten (1)
Steven Lord
am 6 Apr. 2023
baseDate = datetime(0, 'ConvertFrom', 'excel1904')
d = baseDate + milliseconds(1e6)
or
d2 = datetime(1e6, 'ConvertFrom', 'epochtime', ...
'Epoch', 'Jan 1, 1904', ...
'TicksPerSecond', 1000)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Spreadsheets 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!