Apr-28-2017, 10:39 PM
From quick look it seems that you count every year divisible by four as a leap year; thats not right - for example years 1900 or 2100 are not leap years.
As you do exactly same calculations for both dates, it would make sense to rewrite it as a function.
As you do exactly same calculations for both dates, it would make sense to rewrite it as a function.