javascript form validation for date & Time
<p>I am writing a javascript to validate <strong>Date&amp;time</strong> based on the <strong>two Dropdowns selected</strong></p>

<p>Based on the dropdown change the validation has to be changed on <strong>Date&amp;Time</strong> field</p>

<p>I am looking for the validation popup some thing like:</p>

<ol>
<li><strong>Entered Date&amp;Time should be on or before 1 AM (Midnight) same day</strong></li>
</ol>
