Jump to content

Date to GMT 0


rtswimmer

Recommended Posts

How can you change the date and time to GMT 0 (London, England)

This is what i have but its 6 hours behind (obviously defaults to US time)
[code]date("l, F j, Y H:i:s");[/code] Result: Wednesday, March 22, 2006 22:27:27

Ive looked on [a href=\"http://us3.php.net/date\" target=\"_blank\"]here[/a] but i dont understand how to use the 'z' format character
Examples would be a great help

Cheers - RTSwimmer
Link to comment
https://forums.phpfreaks.com/topic/5561-date-to-gmt-0/
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.