lib/validate.js
function(value) {
    var d = FxoUtils.parseDateTimeField(value);
    return d.valid ? d.parsed.getTime() : NaN;
  }
function(value) {
    var d = FxoUtils.parseDateTimeField(value);
    return d.valid ? d.parsed.getTime() : NaN;
  }
function ( value ) { var d = FxoUtils . parseDateTimeField ( value ) ; return d . valid ? d . parsed . getTime ( ) : NaN ; }
The value is guaranteed not to be null or undefined but otherwise it could be anything.
The value is guaranteed not to be null or undefined but otherwise it could be anything .