| 
	
 | 
 Posted by Tom on 03/12/07 16:06 
I've manually updated the timezone to reflect the new DST for the 
entire server network I'm working on.  Almost everything is working 
correctly, except PHP's date/time functions still return dates as 
though DST will occur at 2:00am on April 2, 2007.  This only happens 
when the script is executed through an http request: 
 
<?php 
echo date("F d, Y H:i:s", time()) . "\n" ; 
?> 
 
on shell: 
[user]$ php test.php 
March 12, 2007 11:55:51 
(correct) 
 
on web browser: 
March 12, 2007 10:55:11 
(incorrect) 
 
What's the problem here?
 
  
Navigation:
[Reply to this message] 
 |