oops forgot about the leap year..

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
johnj
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Re: oops forgot about the leap year..

Post by johnj » Sun Apr 21, 2013 8:03 pm

Use the usual leap year logic, that is, the year should be divisible by 4 ( remainder should be 0).

seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: oops forgot about the leap year..

Post by seandisanti » Sun Apr 21, 2013 9:50 pm

and non leap year is 365 days

Post Reply

Who is online

Users browsing this forum: hyper and 2 guests