title: How to create date with date and time and then compare it to another date
body: <p>In my form I separated the date picker and time picker. Now I want to create a date with hours.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="form-group col-lg-8 col-lg-offset-2"&gt;
    &lt;div class="col-lg-6" style="padding-left: 0;"&gt;
        &lt;label class="control-label " for="startDate"&gt;Start Date&lt;/label&gt;
        &lt;input type="text" class=" required form-control" placeholder="mm/dd/yyyy" id="datepicker-autoclose" name="startDate"&gt;
    &lt;/div&gt;
    &lt;div class="col-lg-6" style="padding: 0;"&gt;
        &lt;label class="control-label " for="startTime"&gt;Start Time&lt;/label&gt;
        &lt;div class="bootstrap-timepicker"&gt;
            &lt;input id="timepicker3" name="startTime" type="text" class="required form-control"&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;/div&gt;
  
    &lt;div class="form-group col-lg-8 col-lg-offset-2"&gt;
    &lt;div class="col-lg-6" style="padding-left: 0;"&gt;
        &lt;label class="control-label " for="endDate"&gt;End Date&lt;/label&gt;
        &lt;input type="text" class=" required form-control" placeholder="mm/dd/yyyy" id="datepicker-autoclose2" name="endDate"&gt;
    &lt;/div&gt;
    &lt;div class="col-lg-6" style="padding: 0;"&gt;
        &lt;label class="control-label " for="endTime"&gt;End Time&lt;/label&gt;
        &lt;div class="bootstrap-timepicker"&gt;
            &lt;input id="timepicker4" name="endTime" type="text" class="required form-control"&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;/div&gt;
  
    &lt;div class="form-group col-lg-8 col-lg-offset-2"&gt;
    &lt;div class="col-lg-6" style="padding-left: 0;"&gt;
        &lt;label class="control-label " for="deadlineDate"&gt;Registration Deadline Date&lt;/label&gt;
        &lt;input type="text" class=" required form-control" placeholder="mm/dd/yyyy" id="datepicker-autoclose5" name="deadlineDate"&gt;
    &lt;/div&gt;
    &lt;div class="col-lg-6" style="padding: 0;"&gt;
        &lt;label class="control-label " for="deadlineTime"&gt;Registration Deadline Time&lt;/label&gt;
        &lt;div class="bootstrap-timepicker"&gt;
            &lt;input id="timepicker5" name="deadlineTime" type="text" class="required form-control"&gt;
        &lt;/div&gt;
    &lt;/div&gt;
    &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Just your own examples will help me. My end goal is to validate the dates which goes as
  Start Date - should be greater than current time
  End Date - should be greater than Start Date
  Registration Deadline - should be greater than current time but less than start date</p>