date.replace(year, month, day)
Return a date with the same value, except for those parameters given new values by whichever keyword arguments are specified. For example, if d ==
date(2002, 12, 31)
, then d.replace(day=26) == date(2002, 12, 26)
.
Please login to continue.