Go Back   HostGator Peer Support Forums > Public Forums > Suggestions

Notices

Reply
 
Thread Tools
  #1  
Old 07-17-2008, 12:14 PM
visitor visitor is offline
Hatchling Croc
 
Join Date: Apr 2008
Posts: 28
Default Time Zones

Most people want the server time to be the country they are in, Im told nothing can be changed to do this.

Today, while trying to get around the 5 hours (6 for bst) I found that it can be changed.

Just add this line to your .htaccess (Example is UK BST)

SetEnv TZ Europe/London

Other Country's supported;
http://www.php.net/manual/en/timezones.php

You might need to add this first (Its in mine)
RewriteEngine on

so
RewriteEngine on
SetEnv TZ Europe/London

Last edited by visitor; 07-17-2008 at 12:27 PM.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Time Zones Passh Reloaded Shared Hosting Support 1 01-25-2004 12:12 AM

All times are GMT -5. The time now is 09:13 AM.