Date conversion in Java
Posted
by llm
on Stack Overflow
See other posts from Stack Overflow
or by llm
Published on 2010-04-22T16:00:49Z
Indexed on
2010/04/22
16:03 UTC
Read the original article
Hit count: 258
How can I take a string in a format such as: 2008-06-02 00:00:00.0
and convert it to: 02-Jun-2008
?
Can I somehow take the original string, convert it to a Date object, then use a formatter to get the final output (rather than parsing the string myself)? Thanks!
© Stack Overflow or respective owner