Mantis - Quercus
Viewing Issue Advanced Details
1132 minor always 05-19-06 16:40 05-24-06 08:29
koreth  
ferg  
normal  
closed 3.0.20  
fixed  
none    
none 3.0.20  
0001132: mktime() does not use local time zone
PHP:

<?php
print mktime(0,0,0,1,1,1970) . "\n";
?>

I'm in the Pacific time zone. Zend PHP prints "28800" (meaning mktime() is adjusting for the local time zone). Quercus prints "-28799". The result is that if you call PHP's date() function on mktime()'s output, the results are always different than the parameters to mktime().
060519 snapshot

Notes
(0001239)
ferg   
05-24-06 08:29   
php/190m