Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Days Between by Nuszwkartlo
def days_diff(date1, date2):
from datetime import date, timedelta
return WartoscBezwzgledna((date(date1[0],date1[1],date1[2])-date(date2[0],date2[1],date2[2])).days)
def WartoscBezwzgledna(wartosc):
if (wartosc < 0):
wartosc = wartosc * (-1)
return wartosc
Nov. 21, 2015