Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

calculate days between two dates python

from datetime import date

startDate = date(2021, 7, 19)
endDate = date(2021, 11, 12)
delta = startDate - endDate
print(delta.days)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #calculate #days #dates #python
ADD COMMENT
Topic
Name
5+6 =