.htaccess

Started on the old forum in October 2007 · view the original in the archive · old links redirect here

11 replies · 1,364 views · started 19 years ago · 1 min read

7 participants
amylee Principal · 1,092 posts #2

SetEnv TZ "Europe/London"

i think or

SetEnv TZ GMT-1

its one of them 2 anyway

WhiteWarrior Principal · 1,419 posts #4

SetEnv TZ "Europe/London" Works 🙂

nclemale36 Lead · 537 posts #5

SetEnv TZ "Europe/London" Works :-)

oh thats great . my sites been 2 hours ahead for months lmao . woo hoo thanks

s820brx7 #6

lol i jus click server time in my whm pmpl

subzero Super moderator Fellow · 3,954 posts #7

pmpl no one has this tool External image (may be gone) but we do chris lol

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

amylee Principal · 1,092 posts #8

or simply just run this command as root to change the date

date -s "day month year HH:MM:SS"

GumSlone Administrator Principal · 1,690 posts #9

My copy and paste from: http://www.modwest.com/help/kb5-258.html External image (may be gone)

There are at least 2 ways to cause PHP to behave as if it was in the timezone of your choice.

  1. Follow this other FAQ to change timezone for your entire account.

  2. If you only want particular PHP scripts (and not shell or other cgi scripts) to use a specific timezone, set the timezone environmental variable in your PHP code like so:

<?
echo "Original Time: ". date("h:i:s")."\n";
putenv("TZ=US/Eastern");
echo "New Time: ". date("h:i:s")."\n"; 
?>

If you put the line putenv("TZ=US/Eastern"); in a file that is include()'ed by all your other PHP scripts, then all your PHP scripts will use that timezone.

A list of timezones to choose from, other than "US/Eastern" for your putenv() is here:

http://www.theprojects.org/dev/zone.txt

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

metulj Super moderator Principal · 1,726 posts #10

thank you GumSlone

helpful thingy External image (may be gone)

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close