There was a problem loading the comments.

Adjusting server time in PHP

Support Portal  »  JORDAAR HOSTING  »  Viewing Article

  Print
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"

A full list of available locations and time zones is available on php.net at http://php.net/manual/en/timezones.php

Share via

Related Articles


Self-Hosted Help Desk Software by SupportPal
© ADEPTSTATION LLP