pandas.Period.day

Period.day

Get day of the month that a Period falls on.

Returns:
int

See also

Period.dayofweek

Get the day of the week.

Period.dayofyear

Get the day of the year.

Examples

>>> p = pd.Period("2018-03-11", freq='h')
>>> p.day
11

© 2008–2011, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
© 2011–2025, Open source contributors
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/2.3.0/reference/api/pandas.Period.day.html