Server date/time

Status
Not open for further replies.

bobthebanger

New Member
Messages
2
Reaction score
0
Points
0
My site displays the time from the server. I'm guessing the server isn't in the UK because it's 4 hours behind. I want to display UK time. How would I do it?
 

Synkc

Active Member
Messages
1,765
Reaction score
0
Points
36
You could use this PHP function:

PHP:
date_default_timezone_set("GMT");
 
Status
Not open for further replies.
Top