kee2ka4 Posted June 17, 2008 Share Posted June 17, 2008 Hello everyone, I need some help with regards to displaying UK TimeZone. I save "user comments and the date and time created" into a MySql database. I use the Now() to save the date and time into the mysql databse. Since my hosting company is based in USA, when my page gets the time infomation from the database it shows the USA timezone, but I need to display the UK time. What do I need to change so I can display the correct UK time. Is there any function or any settings I need to change in the database or server? Thanks, Ket Quote Link to comment https://forums.phpfreaks.com/topic/110553-need-to-display-uk-timezone-instead-of-usa-i-am-using-mysql-now-function/ Share on other sites More sharing options...
kee2ka4 Posted June 17, 2008 Author Share Posted June 17, 2008 Does anyone know how I can solve this? Any guide or direction.... Quote Link to comment https://forums.phpfreaks.com/topic/110553-need-to-display-uk-timezone-instead-of-usa-i-am-using-mysql-now-function/#findComment-567308 Share on other sites More sharing options...
PFMaBiSmAd Posted June 17, 2008 Share Posted June 17, 2008 See fenway's post in this thread where he links to the timezone section in the mysql manual. Quote Link to comment https://forums.phpfreaks.com/topic/110553-need-to-display-uk-timezone-instead-of-usa-i-am-using-mysql-now-function/#findComment-567333 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.