Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Forums
Register
Login
Java
»
Beginning Java
java date -> RFC 2822 format
Stu Thompson
,
Hooplehead
Aug 08, 2006 05:14:00
(0 cow)
(0 skulls)
+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 ]
Joe Ess
,
Bartender
staff
Aug 08, 2006 06:57:00
(0 cow)
(0 skulls)
+Pie
Number of slices to send:
Send
You can do any format you like with
java.text.SimpleDateFormat
.
Post by:
autobot
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
.