pandas.Timestamp.toordinal

pandas 3.1.1 · Arrays, scalars, and data types · method

Get the Gregorian day number where January 1 of year 1 is 1.

Call syntax

Timestamp.toordinal()

Run the example

Edit the example and select Run Python to see the result.

Parameters

This call takes no arguments.