This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes time zones Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "time zones" Watch "time zones" New topic
Author

time zones

Chanpreet Julka
Ranch Hand

Joined: Nov 09, 2001
Posts: 40
I am writing a java aplication that has to convert standard time to GMT using time zone. I am not sure how to go about this, so some general advice would be helpfull. Thank you.
Lewin Chan
Ranch Hand

Joined: Oct 10, 2001
Posts: 214
I thought standard time was GMT...
Assuming that the time you're trying to convert has a timezone in it, and you are currently in the GMT timezone, then you could use the java.text.SimpleDateFormat object.

Or something like that


I have no java certifications. This makes me a bad programmer. Ignore my post.
Chanpreet Julka
Ranch Hand

Joined: Nov 09, 2001
Posts: 40
ill try it out. thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: time zones
 
Similar Threads
j2ee
Naughty Google
still find naming policy incomprehensible (3d month)
Should add a Virtualization or Cloud Computing category.
String vs Object