Forums Register Login

java date -> RFC 2822 format

+Pie Number of slices to send: Send
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 ]
+Pie Number of slices to send: Send
You can do any format you like with java.text.SimpleDateFormat.
Think of how stupid the average person is. And how half of them are stupider than that. But who reads this tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 4480 times.
Similar Threads
Convert date format to timestamp
unable to retrieve timestamp in my servlet
Deprecated method and parsing rfc2822 date.
convert date format
Date comparision in SQL from timestamp
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 06:42:13.