title: Using Javascript, how do I make sure a date range is valid?
body: <p>In JavaScript, what is the best way to determine if a date provided falls within a valid range?</p>
  
  <p>An example of this might be checking to see if the user input <code>requestedDate</code> is part of the next valid work week. Note that this is not just checking to see if one date is larger than another as a valid date would be equal to or greater than the lower end of the range while less than or equal to the upper end of the range.</p>