Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
datetime solution in Clear category for Days Between by aoleynik
from datetime import date
def days_diff(date1, date2):
"""
Find absolute diff in days between dates
"""
return abs((date(*date1) - date(*date2)).days)
Jan. 22, 2015
Comments: