File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes time zones Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
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