Submit a Ticket
Support Center » Knowledgebase » Web Server (Apache + IIS) » Setting Timezone with .htaccess

Setting Timezone with .htaccess

How do I offset the Timezone for my location, instead of the server timezone?

This is quite easy actually in Linux.

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

 This answer was helpful  This answer was not helpful
 Back