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 Timestamp to RFC 1123 format  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Timestamp to RFC 1123 format  "Tue, 6 Sep 2005 13:26:00 GMT"" Watch "Timestamp to RFC 1123 format  "Tue, 6 Sep 2005 13:26:00 GMT"" New topic
Author

Timestamp to RFC 1123 format "Tue, 6 Sep 2005 13:26:00 GMT"

Steve Jiang
Ranch Hand

Joined: May 17, 2004
Posts: 107
is there a simple way to change TimeStamp output format from 2005-05-16 17:14:16.0 to RFC 1123-style timestamps format "Tue, 6 Sep 2005 13:26:00 GMT"?

Thanks,

Steve
[ September 07, 2005: Message edited by: Steve Jiang ]
Jayesh Lalwani
Ranch Hand

Joined: Nov 05, 2004
Posts: 502
Take a look at DateFormat API
 
wood burning stoves
 
subject: Timestamp to RFC 1123 format "Tue, 6 Sep 2005 13:26:00 GMT"
 
Similar Threads
Date printed in IST format when EDT format required
add 10 days to currentDate in java.util.Date or cast to Calendar?
Install weblogic on Windows 98
Install weblogic on Windows 98
weblogic.password.system