wood burning stoves 2.0*
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
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: 1371
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.
 
 
subject: TimeZone CST / CDT
 
Similar Threads
Difference between timestamps in terms of Hours
Calendar.getTime() not properly reporting DST?
How to get System Timezone?
Using SpringSource's Jasper within OSGi (moving from Spring Web Extender to HTTP Service)
How to revert back to original TimeZone