Hosting Geared For
your CMSMS needs
Hosting Starting at $15
- • Hosted Mail
- • Personal Control Panel
- • CMSMS 1.8.1 tested
- • Lightly packed servers
- • Intrusion Detection
- • URL monitored
- • Custom solutions available
CP Blogs
Setting Timezone with .htaccess
Posted by: Jeremy Bass
on May 3, 2009
Category:
Apache server, .htaccess, Basics
Summary:
How do I offset the Timezone for my location, instead of the server timezone?
This is quite easy actually.
Ad Space
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
Ad Space












Get Social With It
[+]Add A Comment
[+]