var instance; // Type: wijmo.input.IFormatValidateLib; var returnValue; // Type: Date // Parameters var value; // Type: string var format; // Type: string var culture; // Type: string returnValue = instance.parseDate(value, format, culture);
Parameters
- value
- The string value to parse as a date.
- format
- The dateFormat with which to parse the value.
Default value: d - culture
- The culture to use in parsing the date.
Return Value
Returns the parsed date object, or null if the value cannot be parsed with the specified parameters.