> Anybody knows if this sourcecode is correct to calculate the > numbers of days in certain date ? Why are you going through all that effort? $janOne = mktime( 0, 0, 0, 1, 1, date( "Y" )); $myDate = mktime( 0, 0, 0, $m, $d, $y ); $daysInYear = ( $myDate - $janOne ) / 86400; That should do it for you... Chris
- [PHP] Is correct ?? Miguel Loureiro
- RE: [PHP] Is correct ?? johnny p.
- RE: [PHP] Is correct ?? Boget, Chris
- RE: [PHP] Is correct ?? Boget, Chris