|
NAMEDate::Leapyear - Is a particular year a leap year?SYNOPSISuse Date::Leapyear; if ( isleap(1945) ) { ... } DESCRIPTIONDate::Leapyear exports one function - isleap - which returns 1 or 0 if a year is leap, or not, respectively.isleap$true = isleap( 2004 ); Returns 1 in a leap year, 0 otherwise. AUTHORRich Bowen (rbowen@rcbowen.com)
Visit the GSP FreeBSD Man Page Interface. |