Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Days Between by virzen
from datetime import date
def toDate(pseudodate):
return date(pseudodate[0], pseudodate[1], pseudodate[2])
def days_diff(date1, date2):
delta = toDate(date2) - toDate(date1)
return abs(delta.days)
Jan. 8, 2017