Converting a string in GregorianCalendar format
807603Jan 30 2008 — edited Jan 30 2008Hi I want to convert a string which is exactly in Gregorian Calendar style to GregorianCalendar object so that I can use getTimeInMillis().
Here is the exact situation :
Start time = 2008-01-19T00:05:00-06:00
End time = 2008-02-19T00:10:00-06:00
I want the difference in hours. I dont want to do all the split and parsing. Just want to send the two strings and get difference.
Please help