> Therefore any date on or before 1 Jan 1970 ain't going to > work using mktime or any PHP function which returns a > UNIX timestamp. I'm sorry, but this is wrong. The following works with no problems whatsoever. <script language="php"> $month = 3; $day = 9; $year = 1935; echo "Using $month/$day/$year<br>\n"; $oldDate = mktime( 0, 0, 0, $month, $day, $year ); echo "Unix timestamp for this date is $oldDate<br><br>\n"; echo "Reconverting... " . date( "F d, Y", $oldDate ); </script> Chris
- [PHP] RE: [PHP-WIN] Bug in mktime-function ? Boget, Chris
- [PHP] RE: [PHP-WIN] Bug in mktime-function ? Ignatius Teo
- [PHP] RE: [PHP-WIN] Bug in mktime-function ? Boget, Chris