Javascript, Hour comparisson

Posted by Hellnar on Stack Overflow See other posts from Stack Overflow or by Hellnar
Published on 2010-06-18T09:07:43Z Indexed on 2010/06/18 9:13 UTC
Read the original article Hit count: 253

Filed under:
|
|

Having two strings (start and end time) in such form "16:30", "02:13" I want to compare them and check if the gap is greater than 5 mins.

How can this be achieved in Javascript in an easy way?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about datetime