Jump to content

[SOLVED] Set timezone


rorobobo

Recommended Posts

How can I set the timezone so that the correct time appears on my site?

The code I currently have is: echo date("F jS, Y, g:ia");

As far as I can tell the code above is taking the timezone from the server I am on which is MST.

I want to set it to GMT which is 7 hours ahead of MST.

 

Any help would be much appreciated.

Cheers.

Link to comment
https://forums.phpfreaks.com/topic/43260-solved-set-timezone/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.