Hi,
ok I know I could go an get the Leap Year module and use
is Date a default loaded module?
anyways I was thinking, is it just as easy to use the MOD operator (%) and divide by 4?
if there is a decimal point remainder then it isn't a leap year, is that correct?
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!
ok I know I could go an get the Leap Year module and use
Code:
use Date::Leapyear;
if ( isleap(yyyy) ) {
...
}
is Date a default loaded module?
anyways I was thinking, is it just as easy to use the MOD operator (%) and divide by 4?
if there is a decimal point remainder then it isn't a leap year, is that correct?
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!