Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Days Between by belka-fiz
from datetime import date, timedelta
def days_diff(a, b):
return abs((date(*a) - date(*b)).days)
April 3, 2021