Convert plain string date into required format and difference between two dates
<p>I am getting date from XML but date is in plain string format. I would like to create the difference from today's date and time and the date and time which i am getting from xml. </p>

<p>For example i am getting date as a plain string in this format (2012-10-17T08:15:19.500-05:00).Now when i am doing difference with current date&amp;time than i need to display something like this "2:hr,32min".</p>

<p>Any help/suggestion would be a great input.</p>

<p>Thanks</p>
