Korvin commented on a Page, Leap Year Check  -  Mar 04, 2010
function leapCheck(y){y-=2008;if (y < 0){y*=-1;}if((y % 4) == 0){return true;}return false;}

that actually works how you want it to...

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.