This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Dateformat conversion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Dateformat conversion" Watch "Dateformat conversion" New topic

Dateformat conversion

renu richard
Ranch Hand

Joined: Oct 06, 2008
Posts: 116

I have a string like this Sun Dec 17 09:30:47 GMT+05:30 2000. Now i want to convert this date into this format yyyy-MM-dd'T'HH:mm:ss. Can anyone please tell me how to do this.

Many Thanks

Onkar Joshi
Ranch Hand

Joined: Mar 01, 2007
Posts: 116
Try this

See here for details :

SCJP 5 - 95% | SCWCD 1.4 - 88% | SCBCD 5 - 93%
Onkar Joshi's blog | LinkedIn profile
wood burning stoves
subject: Dateformat conversion
It's not a secret anymore!