This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing time for a given timezone

 
Sowjanya Chowdary
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic