mouli Posted October 14, 2007 Share Posted October 14, 2007 Hi Several of my sites show the current date and time on the page which worked fine until I moved servers from new zealand to the USA. Is still want the sites to show new zealand time which I understand I can do using a time zone shift on the local date/time but I dont think it can account for time changes in New Zealand due to Summer Time (+1 hour) day light saving. I am currently using an include on a new zealand server to send the NZ time stamp to the pages in USA but now we have moved to summertime and the server time has not. I dont have access to the include script so what I'm looking for is a way to get the time stamp from a remote server that accounts for day light saving etc. Any ideas would be most welcome. Quote Link to comment https://forums.phpfreaks.com/topic/73165-get-time-on-remote-server/ 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.