Chrono_gamer Posted January 7, 2010 Share Posted January 7, 2010 I built a forum from scratch and need it to find user's time automatically. I know I can do this with Javascript but how do I make it so the topics and replies will say the correct time according to their timezone? I left a comment at 7 pm, and it says 9 PM, and it says 9 PM on the other side of the world too.... I'm using zend frameworks, any way to implement this? Quote Link to comment https://forums.phpfreaks.com/topic/187622-locate-correct-time-in-zend-frameworks/ Share on other sites More sharing options...
ignace Posted January 7, 2010 Share Posted January 7, 2010 No only JavaScript is local aware. You can however upon registration ask your user to tell you what his current time is GMT+.. Quote Link to comment https://forums.phpfreaks.com/topic/187622-locate-correct-time-in-zend-frameworks/#findComment-990611 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.