How do I get different timezone date in javascript?
I have timezone stored with me in a var like: timezone = "America/Los_Angeles". So by providing th开发者_Go百科is timezone, can I get the LA's current time in Javascript?
Here's an article that illustrates how this could be done assuming you know the timezone offset.
精彩评论