How can we know the time of a place from where a person logs in, a particular web application.
I and developing an internal management system for a huge business house in php. The business house has its branches located all over the world. I have to ensure that when an employee logs in to the application he or she can see the LOCAL TIME. This has to be dynamic. Can anybody help?
You can use from date_default_timezone_set php built-In function
As far as I am aware, there is no "magic function" that will allow you to retrieve a user's local time through PHP, but a couple options you might consider are: