i really need to get Helsinki and Moscow current time using javascript but regardless of local timezone. I wonder how to do that? Maybe anyone has an example?
The format would be:
November 1, 2011
21:31:00
thank you.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The following function works when you know the offset ahead of time:
The above will always work for Moscow, which no longer observes a Daylight Savings Time, but you’d need to be aware of what time of year it is to make an equivalently generic solution for Helsinki.