title: IE8: Object Doesn't Support This Property or Method (Date function)
body: <p>I'm getting an error that only appears on the great IE8, it points to the following function, specifically the line: <code>return (expDate.getTime() &gt; Date.now());</code></p>
  
  <pre><code>$.validator.addMethod("checkDocExpiry",function(value) {
      var driverLicExp = ($('#drivers-license-expiration').val()) ? $('#drivers-license-expiration').val() : '';
      if (driverLicExp != ''){
          var expDate = new Date(driverLicExp);
          return (expDate.getTime() &gt; Date.now());
      }else{
          return (true);
      }
  }, "Your driver's license has expired.");
  </code></pre>
  
  <p>I'm not sure what would cause this, I am fairly new to developing for older browsers. This runs fine in FF, IE10, Chrome, Safari.</p>
  
  <p>Any help would be much appreciated.</p>
  
  <p>Thanks</p>