C
csjasnoch
Is there a simple way to see if a year is a leap year (rather than
writting an algorithm I wanted to check if it is already implimented
first)
It would be kewl if there was just a check on a Time var
Like,
now = Time.new
flag = now.leapyear?
writting an algorithm I wanted to check if it is already implimented
first)
It would be kewl if there was just a check on a Time var
Like,
now = Time.new
flag = now.leapyear?