DELETE-ME-NOW- Posted August 23, 2010 Posted August 23, 2010 I know this is prob VERY nooby, but how do you change the time in your game? (game time) Quote
rulerofzu Posted August 23, 2010 Posted August 23, 2010 you wish to change the time displayed ?? Quote
rulerofzu Posted August 23, 2010 Posted August 23, 2010 to what? your local time?? most games will display the server time so depending on where your server is that will be the time displayed. You can change it though. You will need to state to what timezone. Quote
DELETE-ME-NOW- Posted August 23, 2010 Author Posted August 23, 2010 Ahh right. Cos im i want UK time, and its a strange little time its showing up XD Any way you can manualy change it to a time zone? Quote
Djkanna Posted August 23, 2010 Posted August 23, 2010 date_default_timezone_set('GMT'); Source: PHP Manual: Date Or <?php $timezone = new DateTimeZone( "Europe/London" ); $date = new DateTime(); $date->setTimezone( $timezone ); echo $date->format( 'H:i:s A / D, M jS, Y' ); ?> Source: PHP Manual: Date(comments) Just Two ways you can do it. Quote
DELETE-ME-NOW- Posted August 24, 2010 Author Posted August 24, 2010 Ah ok then. Thanks alot bud :D Quote
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.