diem.replace#
- diem.replace(*, month=None, day=None, fold=None)#
Return a copy of the diem, partially replacing some of the attributes.
- Parameters:
month (1..12) – the month
day (1..31) – the day
fold ('back', 'forward') – how to treat 29 Feb
Return a copy of the diem, partially replacing some of the attributes.
month (1..12) – the month
day (1..31) – the day
fold ('back', 'forward') – how to treat 29 Feb