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.
- Follow-Ups:
- Re: timezone
- From: cassie
- Re: timezone
- From: Tommy Peterson
- Re: timezone
- References:
- timezone
- From: kranthi
- Re: timezone
- From: Tommy Peterson
- timezone
- Prev by Date: Re: timezone
- Next by Date: Re: Subscribe.
- Previous by thread: Re: timezone
- Next by thread: Re: timezone
- Index(es):