var instance; // Type: wijmo.input.IFormatValidateLib; var returnValue; // Type: bool // Parameters var value; // Type: string var minDate; // Type: Date var maxDate; // Type: Date var format; // Type: string var culture; // Type: string returnValue = instance.validateDate(value, minDate, maxDate, format, culture);
Parameters
- value
- The date value to validate.
- minDate
- The earliest date value to accept.
- maxDate
- The latest date value to accept.
- format
- The date format to accept. For more information about format keywords, please see Date Format Keywords
- culture
- The culture to use in validating the date.
Return Value
Returns a Boolean value indicating whether the string date value falls within the specified date range.