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 string value to validate as a date.
- minDate
- The earliest date to accept as a valid value.
- maxDate
- The latest date to accept as a valid value.
- format
- The formatting string to use in validating the value.
For the full list of supported format keywords, see Date Format Keywords. - culture
- The culture to use in validating the date.
Return Value
Returns a bool indicating whether the string date value is within the specified date range.