Re: [PHP-INSTALL] timezone

2008-12-12 Thread cassie
You may want to look at NTP http://www.crazysquirrel.com/computing/debian/ntp.jspx Worked for me. Cassie

Re: [PHP-INSTALL] timezone

2008-12-12 Thread Tommy Peterson
I would have to look at your server/OS to know why the time is off. But to answer your question about TZ/Windows check this out->http://publib.boulder.ibm.com/tividd/td/BSM/SC32-9084-00/en_US/HTML/bsmd156.htm Also, I am not familiar with Debian. Sorry.

Re: [PHP-INSTALL] timezone

2008-12-12 Thread kranthi
thanks for the information.that saved me a lot of head-scratching. var_dump(date_default_timezone_get()); is giving me string(13) "Asia/Calcutta" yet ter are two things which i dont understand. 1. TZ env variable is not set on my computer(debian OS). where did the timezone come from "if support

Re: [PHP-INSTALL] timezone

2008-12-12 Thread Tommy Peterson
Mine shows NY even though it is not set in the ini file and I did not set it with the appropriate function. If you look at this page you will see where PHP is looking for the time zone and the last one is the OS: http://us2.php.net/manual/en/function.date-default-timezone-get.php