#native_company# #native_desc#
#native_cta#

Leap year

By Nageswara Rao Devarakonda
on June 27, 2002

Version: 10.0

Type: Function

Category: Calendars/Dates

License: GNU General Public License

Description: Just a short practice run for me. A function that checks for leap year.

<?
function leap($yy)
{
	if($yy%4==0 && $yy%100!=0 || $yy%400==0)
		return true;		//leap year
}
?>