Okay so what i'm trying to do is get the time values between 2 different dates.
For example:
date1 = 3/2/2014 - 14:12
date2 = 4/2/2014 - 16:22
How would I get the time difference between date1 and date2? (26hrs, 10mins) <- that would be the perfect output for what I want.
I've had a look at the parse method and if I understand it correctly, I think I could make that work by doing something like:
myDate = date1;
myDate.parse(date2);
then convert the output to how I wanted it from there, but I haven't seen any examples where it takes the time of day into consideration.