pandas.Timestamp.day#
- Timestamp.day#
Return the day of the Timestamp.
- Returns:
- int
The day of the Timestamp.
See also
Timestamp.weekReturn the week number of the year.
Timestamp.weekdayReturn the day of the week.
Examples
>>> ts = pd.Timestamp("2024-08-31 16:16:30") >>> ts.day 31