File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Why am I getting back CDT timezone instead of CST Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Why am I getting back CDT timezone instead of CST" Watch "Why am I getting back CDT timezone instead of CST" New topic
Author

Why am I getting back CDT timezone instead of CST

Scott Hiett
Greenhorn

Joined: Jun 05, 2001
Posts: 5
The output from the following code:
passing 9/28/2002 5:00 PM CST
getTheDate = 09/23/2002 10:00 AM CDT
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
I expect it has something to do with the fact that it is trying to convert "China Standard Time" to "Central Standard Time" which is still on "Central Daylight Time" on 9-23-02.
Could be why the use of CST et al. is deprecated.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why am I getting back CDT timezone instead of CST