This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Timestamp to RFC 1123 format  Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 106
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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: Timestamp to RFC 1123 format "Tue, 6 Sep 2005 13:26:00 GMT"
 
Similar Threads
add 10 days to currentDate in java.util.Date or cast to Calendar?
Install weblogic on Windows 98
weblogic.password.system
Install weblogic on Windows 98
Date printed in IST format when EDT format required