python date now with hour 0 time 0 second 0 code example
Example: datetime decreasing date python
from datetime import datetime, timedelta
d = datetime.today() - timedelta(days=days_to_subtract)
from datetime import datetime, timedelta
d = datetime.today() - timedelta(days=days_to_subtract)