I was using a date example... aka "now".
The datetime module help topic on python.org gives a precise definition of the methods and properties. "replace" is one of those. You can replace anything in a datetime object. My examples were to show what was possible.
If you are in need of an immediate solution, go with whatever you understand. I am more interested in teaching people how to fish rather than handing out fish at the shore 😉
... sort of retired...