Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Days Between by Fytex
import datetime
def days_diff(date1, date2):
d1 = datetime.datetime(date1[0],date1[1],date1[2])
d2 = datetime.datetime(date2[0],date2[1],date2[2])
return (datetime.timedelta.total_seconds(abs(d2-d1))/86400)
Nov. 19, 2018
Comments: