Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java date -> RFC 2822 format  RSS feed

 
Stu Thompson
Hooplehead
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Is there not a straight forward, terse way to describe a java date type as a string in RFC 2822 ("Wed, 02 Oct 2002 15:00:00 +0200") or any other standard format (like 8601)?

thanks,

stu
[ August 08, 2006: Message edited by: Stu Thompson ]
 
Joe Ess
Bartender
Posts: 9429
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can do any format you like with java.text.SimpleDateFormat.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!