Re: timezone

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.


[Index of Archives]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Users]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]

  Powered by Linux