code: function (val) {
  		var parseDate = this.options.parseDate,
  			ret,
  			key,
  			format,
  			match;
  
  		if (parseDate) {
  			ret = parseDate(val);
  		}
  			
  		if (typeof val === 'string') {
  			for (key in this.dateFormats) {
  				format = this.dateFormats[key];
  				match = val.match(format.regex);
  				if (match) {
  					ret = format.parser(match);
  				}
  			}
  		}
  		return ret;
  	}
docs: Parse a date and return it as a number. Overridable through options.parseDate.