Sorry, I should be more specific, I mean taking the time from a server located in the US Pacific Time Zone and translating it so the time that is displayed is the time that is relevant to where the web site is about, in this case Eastern Standard Australian Time.
The Javascript Date object has a getTimeZoneOffset method that returns the difference in minutes between UTC and the host computer. You could use that in a client (browser) side script and pass it to the server code where you could use it again to find the variance from UTC on the server and the calculate the two to obtain the relative difference and the adjust a date value to match that of the client computer.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.