oops forgot about the leap year..

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

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

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).

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

Sun Apr 21, 2013 9:50 pm

and non leap year is 365 days

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests