Knowledgebase

Setting time zone with .htaccess

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

  • 0 Users Found This Useful

Was this answer helpful?

Related Articles

How to leave email on your POP3 Server

When you retrieve e-mail messages from a POP3 e-mail account, the messages are deleted from...