rtswimmer Posted March 23, 2006 Share Posted March 23, 2006 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:27Ive looked on [a href=\"http://us3.php.net/date\" target=\"_blank\"]here[/a] but i dont understand how to use the 'z' format characterExamples would be a great helpCheers - RTSwimmer Quote Link to comment Share on other sites More sharing options...
swatisonee Posted March 23, 2006 Share Posted March 23, 2006 TRY,<? $t1 = date('Y-m-d H:i:s' , time() + 21600); echo $t1;?> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.