• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dateformat conversion

 
renu richard
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this


See here for details : http://java.sun.com/j2se/1.5.0/docs/api/java/text/DateFormat.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic