converting MJD in UT1 to calender date
38 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
how could I convert 2017 January 00:00:00.5912977 which is MJD 57754 in UT1 to year,month,day,hour,,,,,,seconds
1 Kommentar
James Tursa
am 23 Nov. 2024
Bearbeitet: James Tursa
am 23 Nov. 2024
Note: If you are trying to convert to/from UTC and UT1, then you will have to interpolate the UT1-UTC data from this source:
E.g., the finals2000A.all file.
Antworten (1)
Voss
am 20 Mai 2022
Bearbeitet: Voss
am 20 Mai 2022
Convert 2017 January 00:00:00.5912977 to year,month,day,hour,,,,,,seconds, as requested:
dt = datetime('2017 January 00:00:00.5912977', ...
'InputFormat','yyyy MMMM hh:mm:ss.SSSSSSS', ...
'Format','yyyy,MM,dd,hh,,,,,,ss')
Various conversions from MJD 57754, since that was mentioned:
dt = datetime(57754,'Format','yyyy MMMM dd hh:mm:ss.SSSSSSS','ConvertFrom','MJD')
dt = datetime(57754,'Format','yyyy MMMM hh:mm:ss.SSSSSSS','ConvertFrom','MJD')
dt = datetime(57754,'Format','yyyy,MM,dd,hh,mm,ss','ConvertFrom','MJD')
dt = datetime(57754,'Format','yyyy,MM,dd,hh,,,,,,ss','ConvertFrom','MJD')
0 Kommentare
Siehe auch
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!