Hi All,

I have a page where the user specifies in which timezone they belong to and
based on that i have to show the date & time. So I have to set the different
timezones. For this I am using putenv function like:
putenv("TZ=US/Eastern");

Now my question is whether it is fine to use putenv in the production
environment? Whether the putenv changes the timezone value globally for all
request or for the current request only?

Please advise.

Regards,
Manoj

Reply via email to