Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Datetime.date solution in Clear category for Days Between by quarkov
import datetime
def days_diff(date1, date2):
first = datetime.date(date1[0], date1[1], date1[2])
second = datetime.date(date2[0], date2[1], date2[2])
return (max(first, second) - min(first, second)).days
June 2, 2018
Comments: