Yes, I works on windows as well well. Was looking for india time zone found
it as putenv("TZ=Asia/Calcutta");. Thanks a lot, but this function does not
change the server time permanently. Any Idea about any function which does
On Sun, May 24, 2009 at 12:33 PM, Michael A. Peters <mpet...@mac.com> wrote:
> Sumit Sharma wrote:
>> Whenever I am using date('r') function It shows time in GMT instead of
>> local time set on my machine. Do I need to configure the time separately.
>> am using WAMP server locally.
> Not sure about windows - but
> in your script should work (change the timezone to whatever you want
> You should be able to set the TZ variable globally in your php.ini file.