the time is wrong.
Originally posted by Paul li:
String srtDF2= "yyyy-mm-dd HH:mm:ss Z";
The output is as the following: Thu May 22 00:09:44 EDT 2008 2008-09-22 00:09:44 -0400 The format is correctly changed, but the time is wrong. [ August 08, 2008: Message edited by: Paul li ]