pandas.Timestamp.toordinal

Timestamp.toordinal()

Return proleptic Gregorian ordinal. January 1 of year 1 is day 1.