• Post Reply Bookmark Topic Watch Topic
  • New Topic

convert now timestamp to 2011-05-02T19:50:42.868-04:00  RSS feed

 
divya kundapur
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using simpledateformat, i m not able to convert it to this format 2011-05-02T19:50:42.868-04:00 yyyy-MM-dd'T'HH:mm:ss.SSS after this i dont know what to do
 
Robin John
Ranch Hand
Posts: 281
Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Divya,

what are you trying to convert ? some of your code would help...

and check here for all the formats here

Date and Time Pattern: "yyyy-MM-dd'T'HH:mm:ss.SSSZ"

This may help....

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!