aspose file tools
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 Storm Applied this week in the Other Open Source APIs 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
I agree. Here's the link:
subject: Dateformat conversion