NO sir! Leap year handling is in the code already, otherwise it would not have worked for 2008! The leap year handling is done in the following statements in the code[php]if ($year % 4 == 0)
for ($i=1; $i<12; $i++)
$monthtab[$i]++;[/php]
and you don't want to worry about 400-year cycle because the previous one was 1600 and the next one is 2400. And the strtotime routine does not go that far (just until 2032(?).
Ronald
for ($i=1; $i<12; $i++)
$monthtab[$i]++;[/php]
and you don't want to worry about 400-year cycle because the previous one was 1600 and the next one is 2400. And the strtotime routine does not go that far (just until 2032(?).
Ronald
Comment