Possible Duplicate:
Difference between dates in JavaScript
I've found myself at a javascript brick wall.
I would like to find the difference (in hours and minutes) between two times on two different days.
I can produce the hours, minutes and day of the week for each but cannot work out how to implement a function that will check how long there is until the next time.
Example:
If it's 16:00 on Friday and the next time is Monday at 13:00 the output would be 69 hours and 0 minutes.
Anyone got any ideas on how best to implement this?
N.B. I'm heavily using Google Closure.