Reply to daylight saving time problem

Your name:

Reply:


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?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация