aspose file tools*
The moose likes Beginning Java and the fly likes How to instantiate calender in GMT? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to instantiate calender in GMT?" Watch "How to instantiate calender in GMT?" New topic
Author

How to instantiate calender in GMT?

jigar vyas
Greenhorn

Joined: May 12, 2008
Posts: 3
Hi All,

My application server is running on PST machine. I want to instantiate a java calendar object in GMT. How it can be achieved? I am using JDK 1.4.

Pls. suggest.

Thanks,
Jigs.
[ June 06, 2008: Message edited by: jigar vyas ]
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19672
    
  18

Use a Calendar and set its Timezone.

This is solvable by using the standard Java APIs so I'm moving this to Java in General.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to instantiate calender in GMT?