Aitchi Posted June 9, 2010 Posted June 9, 2010 hi there, i was just wonering how to manipulate the time in the mainmenu.php to display Australian EST instead of the time of the server? Quote
Aitchi Posted June 9, 2010 Author Posted June 9, 2010 just in case your not sure what i mean.... echo date ('F j, Y')." ".date('g:i:s a'); this displays the date and time of the server, I want my time to run in Australian time so i need that bit of code to be able to display +17 hours ahead. Quote
Diesl Posted June 9, 2010 Posted June 9, 2010 Use this in before the "echo date...." line date_default_timezone_set('Australia/Brisbane'); more info: http://php.net/manual/en/function.date-default-timezone-set.php Quote
Aitchi Posted June 9, 2010 Author Posted June 9, 2010 why thank you very much... i actually looked at that site for info but couldn't find it... That's exactly what i was looking for... thanks again! 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.