Re: timezone

From: Date: Fri, 12 Dec 2008 16:09:31 +0000
Subject: Re: timezone
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-19522@lists.php.net to get a copy of this message
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 supported and allowed by the OS" debian allows the so called querying while windows dosent. is this true??? 2. How am i getting time as 03:01 AM, 13/12/08 IST when actually it is 09:31 PM, 12/12/08 IST ??? Kranthi.

« previous php.install (#19522) next »