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 } ?>