Leap Year

Leap Year

Postby ScottSOP » Mon Jul 27, 2009 6:23 pm

Does this script account for leap years?
ScottSOP
 
Posts: 3
Joined: Mon Jul 27, 2009 6:20 pm

Re: Leap Year

Postby chris » Mon Jul 27, 2009 7:51 pm

Hi there,
It should do.
It uses php time functions to create the days, months and years.

I have just tested a test version that I have that allows the user to change the period and yes, February 2012 has 29 days :)

Chris
User avatar
chris
Site Admin
 
Posts: 1089
Joined: Mon Dec 17, 2007 7:42 pm
Location: Málaga, Spain

Re: Leap Year

Postby ScottSOP » Mon Jul 27, 2009 8:50 pm

Sweet thanks.
ScottSOP
 
Posts: 3
Joined: Mon Jul 27, 2009 6:20 pm


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron