So I have some old data that has time in the date field. I do not want time in the date field.
I know that I can set the time to 12:00:00AM to make the time disappear from the field.
I need a way to update all the records (different days) to have the same time of day but keep the original date.
Any suggestions on how to do this?
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 😉