convert date to julian date using a reference date BC.
11 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Walter Roberson
2019-6-6
juliandate() applied to a datetime object gives that system. Conversion back is
datetime(X, 'convertfrom', 'juliandate')
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Dates and Time 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!