title: Time Difference between days
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1968167/difference-between-dates-in-javascript">Difference between dates in JavaScript</a>  </p>
  </blockquote>
  
  
  
  <p>I've found myself at a javascript brick wall.</p>
  
  <p>I would like to find the difference (in hours and minutes) between two times on two different days.</p>
  
  <p>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.</p>
  
  <p>Example:</p>
  
  <p>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.</p>
  
  <p>Anyone got any ideas on how best to implement this?</p>
  
  <p>N.B. I'm heavily using Google Closure.</p>