This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "TimeZone CST / CDT" Watch "TimeZone CST / CDT" New topic

TimeZone CST / CDT

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1381
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

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.
Consider Paul's rocket mass heater.
subject: TimeZone CST / CDT