pandas.Timestamp.to_julian_date

Timestamp.to_julian_date()

Convert TimeStamp to a Julian Date.

0 Julian date is noon January 1, 4713 BC.

Examples

>>> ts = pd.Timestamp('2020-03-14T15:32:52')
>>> ts.to_julian_date()
2458923.147824074