convert date to julian date using a reference date BC.
11 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Serena Lee
am 5 Jun. 2019
Kommentiert: Serena Lee
am 6 Jun. 2019
I am trying to analyse some french oceanographic data that for some unexplainable reason uses a BC reference date. All the typical matlab functions I use to convert gregorian dates to julian assume the reference date is AD. Can anyone suggest a way to convert a BC gregorian date to a datenumber? Specifically 01 Jan 4713 BC.
Many thanks.
Serena
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 6 Jun. 2019
juliandate() applied to a datetime object gives that system. Conversion back is
datetime(X, 'convertfrom', 'juliandate')
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Dates and Time finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!