Setting Timezone with .htaccess Print

  • 0

How do I offset the Timezone for my location, instead of the server timezone?
This is quite easy actually.

Open your .htaccess file and add the following line:
SetEnv TZ location

where location is the specific timezone you want to define.

A list of Supported Timezones can be found here:
http://www.php.net/manual/en/timezones.php


Was this answer helpful?

« Back

Powered by WHMCompleteSolution