" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

How to compare start and end time in JavaScript

Posted on November 23rd, 2015 by Dipak Panda

Think of a form where we have entries for start and end time. There obviously we need to check that the end time should be after start time. Here at this point we will need to compare time and preferably that in client side(using Javascript). In Javascript comparing date is quite simple. Just create date […]