File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

TimeZone CST / CDT

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1432
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.
I agree. Here's the link:
subject: TimeZone CST / CDT
It's not a secret anymore!