File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Correct pattern for SimpleDateFormat Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Correct pattern for SimpleDateFormat" Watch "Correct pattern for SimpleDateFormat" New topic
Author

Correct pattern for SimpleDateFormat

Miha Michael
Greenhorn

Joined: Mar 18, 2010
Posts: 1
Hi Folks,

I'm trying to parse date of the following format: "2010-03-18T15:32:49+00:00" using SimpleDateFormat. What is the correct pattern for it?

Thanks,
Miha

This message was edited 1 time. Last update was at by Miha Michael

Rob Spoor
Saloon Keeper

Joined: Oct 27, 2005
Posts: 17253

Hi Miha, welcome to JavaRanch. What have you tried so far? Have you read the SimpleDateFormat Javadoc page already? Where are you stuck?


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
 
subject: Correct pattern for SimpleDateFormat
 
developer file tools