Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Thanks. This is a nice solution. For now, because i need it only for one odd case, i am going to consider some string regex as suggested by eaj and use the same old SimpleDateFormat. Thanks anyways. Commented Mar 22, 2011 at 21:10
  • No problem. You'll come around to Joda Time eventually. Took me a few projects to buy in to it. :D Commented Mar 24, 2011 at 16:22

lang-java