Determining a leap year
Today() returns today's date not the year
yr IF statement says:
if ((today's date/4 gives the rest of 0 AND today's date/100 gives the
rest < 0) OR today's date/400 gives the rest of 0) then the result is
366
otherwise it is 365
|