LiamProductions Posted July 21, 2007 Share Posted July 21, 2007 Hey. What PHP function or code do i need to get the GB Time. [uK Time GMT] ? To display on the site? Quote Link to comment Share on other sites More sharing options...
darkfreaks Posted July 21, 2007 Share Posted July 21, 2007 php.net/time Quote Link to comment Share on other sites More sharing options...
LiamProductions Posted July 22, 2007 Author Share Posted July 22, 2007 Thanks. Quote Link to comment Share on other sites More sharing options...
LiamProductions Posted July 22, 2007 Author Share Posted July 22, 2007 I tried the following code on my Wamp server and nothing happens: <?php $today = date("F j, Y, g:i a"); ?> Quote Link to comment Share on other sites More sharing options...
BillyBoB Posted July 22, 2007 Share Posted July 22, 2007 try <?php $today = date("F j, Y, g:i a"); echo $today; ?> Quote Link to comment Share on other sites More sharing options...
redarrow Posted July 22, 2007 Share Posted July 22, 2007 i tested the code it worked like good luck m8. <?php echo date("F j, Y, g:i a"); ?> Quote Link to comment Share on other sites More sharing options...
LiamProductions Posted July 22, 2007 Author Share Posted July 22, 2007 Ahh... I should of known to put a Echo... Im quite new to PHP so i didn't think about it. 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.