Adjusting Server Time in PHP Print

  • 0

All of our servers are configured to Eastern Time by default.  It is possible, however, for you to adjust the date for PHP

and this is done via a php_value directive in your .htaccess file.

The line you place in your .htaccess file looks like this:

php_value date.timezone "America/Indiana/Indianapolis"

Change this line "America/Indiana/Indianapolis"

to any one from the list below

Eastern Time    America/New_York
Central Time     America/Chicago
Mountain Time  America/Denver
Mountain Time (no DST) America/Phoenix
Pacific Time      America/Los_Angeles
Alaska Time      America/Anchorage
Hawaii-Aleutian America/Adak
Hawaii-Aleutian Time (no DST) Pacific/Honolulu


Was this answer helpful?

« Back