This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Accessing time for a given timezone Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Accessing time for a given timezone" Watch "Accessing time for a given timezone" New topic
Author

Accessing time for a given timezone

Sowjanya Chowdary
Ranch Hand

Joined: Aug 22, 2005
Posts: 35
Hi all,

I have a problem using javascript.
I want to know whether there is any way to accesss, the current time and offset from GMT for a selected timezone id from dropdown menu like IST, EST..etc.

Thanks for any reply.

Amrutha
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15385
    
    6
Here is a list of the date object methods/properties:
http://www.w3schools.com/jsref/jsref_obj_date.asp

That should help you find what you need.
Eric
 
Have you checked out Aspose?
 
subject: Accessing time for a given timezone
 
It's not a secret anymore!