Ad Space
Ad Space

Hosting Geared For
your CMSMS needs

CMSMS ready Hosting

Hosting Starting at $15

  • • Hosted Mail
  • • Personal Control Panel
  • • CMSMS 1.8.1 tested
  • • Lightly packed servers
  • • Intrusion Detection
  • • URL monitored
  • • Custom solutions available

Order your hosting Now

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

[+]

Code in the picture:
Title:
Your Name(*):
Email:
Notify me of any further comments to this thread:
Website:
Comment(*):
 
Previous page: Hosting FAQ Next page: Experimental