1👍
✅
Use the datetime.replace method like this: datetime.now().replace(second=0, microsecond=0)
Source:stackexchange.com
1👍
Use the datetime.replace method like this: datetime.now().replace(second=0, microsecond=0)