Re: [PHP-INSTALL] timezone

[email protected] (kranthi)
Newsgroups php.install
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.