File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ranch Office and the fly likes TimeZone CST / CDT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "TimeZone CST / CDT" Watch "TimeZone CST / CDT" New topic
Author

TimeZone CST / CDT

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1367
TimeZone.getDefault().getDisplayName() gives current time zone of the system. We are in PST. We have changed our system time to CST for our testing . I am getting CST for TimeZone.getDefault().getDisplayName() and again we have changed our system time to CDT for some days. But still i am getting CST for TimeZone.getDefault().getDisplayName(). But system 'date' gives CDT.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Is this a question or a statement about Ranch times or something else? Please provide more information, or post questions in the appropriate forum.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TimeZone CST / CDT
 
Similar Threads
Calendar.getTime() not properly reporting DST?
Difference between timestamps in terms of Hours
Using SpringSource's Jasper within OSGi (moving from Spring Web Extender to HTTP Service)
How to revert back to original TimeZone
How to get System Timezone?