Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Steve Jiang
Ranch Hand
Posts: 127
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 502
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at DateFormat API
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic