chanchelkumar Posted September 18, 2008 Share Posted September 18, 2008 Hi all , Am working with a banking application, I want to convert the time to localtime. Now it's in US time. Server is in US . How to convert the time to local time?? Help me .. Thanks in advance... Link to comment https://forums.phpfreaks.com/topic/124768-covert-time-to-local-time/ Share on other sites More sharing options...
ratcateme Posted September 18, 2008 Share Posted September 18, 2008 do you want to set it ti the time of your client or the time that you are in. so clients outside your timezone get the wrong time? to do it for the client you need so JS. to set it so it is in the server thinks it is in the same timezone as you are in look at date_default_timezone_set() Scott. Link to comment https://forums.phpfreaks.com/topic/124768-covert-time-to-local-time/#findComment-644532 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.