Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

datetime decreasing date python

from datetime import datetime, timedelta

d = datetime.today() - timedelta(days=days_to_subtract)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #datetime #decreasing #date #python
ADD COMMENT
Topic
Name
9+6 =