pandas.tseries.offsets.SemiMonthBegin.day_of_month#

SemiMonthBegin.day_of_month#

Return the day of the month for the semi-monthly offset.

This specifies the day of the month on which the offset falls, in addition to the start (1st) or end (last day) of the month.

See also

SemiMonthBegin

Offset at the start of the month and mid-month.

SemiMonthEnd

Offset at mid-month and end of month.

Examples

>>> pd.offsets.SemiMonthBegin().day_of_month
15
>>> pd.offsets.SemiMonthBegin(day_of_month=20).day_of_month
20