This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Correct pattern for SimpleDateFormat Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
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
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19216

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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Correct pattern for SimpleDateFormat
 
Similar Threads
Help in converting date from string
parsing 2008-12-14T03:27:09.024-08:00 using SimpleDateFormat
Max Date Limit
SimpleDateFormat
Time conversion question