Python Replace Time in Datetime

August 9, 2019
import datetime

today = datetime.datetime.today()
today = today.replace(hour=0, minute=0, second=0, microsecond=0)
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.