Hello,
I am trying to change the timezone in my php script. Currently when I use the date() function I get back a CDT time, while I would like to get a different time zone (e.g. EDT).
I looked around and found that a possible way would be to create a php.ini file and to set the following parameter to US/Eastern
date.timezone = "US/Eastern"
I have tried this, but it does not seem to work.
php.ini file is currently in my public_html folder...
Any ideas?
Thank you!
I am trying to change the timezone in my php script. Currently when I use the date() function I get back a CDT time, while I would like to get a different time zone (e.g. EDT).
I looked around and found that a possible way would be to create a php.ini file and to set the following parameter to US/Eastern
date.timezone = "US/Eastern"
I have tried this, but it does not seem to work.
php.ini file is currently in my public_html folder...
Any ideas?
Thank you!