Hi,
Anybody knows if this sourcecode is correct to calculate the numbers of days in 
certain date ?

$m - month; $d - day, $y - year
if($m<=2){

$y--;

$m+=13;

}

else

$m++;

$nd = (1461 * $y / 4) + (153*$m/5) + $d;

Because I use this code in a function and sometimes it your and others dont ....

Best Regards

Miguel Loureiro < [EMAIL PROTECTED] >

Reply via email to