title: Javascript check if date fits in last 24 hours
body: <p>I have a date time in javascript given in format <code>dd.MM.yyyy HH.mm</code>.</p>
  
  <p>What I need to check is whether this date fits in last 24 hours or not.</p>
  
  <p>Example:
  If date and time now is 06.04.2017 18:26 (dd.MM.yyyy HH.mm) then minimal date allowed to enter is 05.04.2017 18:26. Is it possible to do this check with javascript?</p>