IsDate
IsDate Function
Returns true if the value is of date type. Expected formatting can be specifed optionally.
Syntax
IsDate(scalar Value, scalar FormatString)
Arguments
| Argument | Description |
|---|---|
scalar Value | String date value |
scalar FormatString | String format |
Examples:
IsDate('Jan 03, 2005', null)
Checks if the specified string has a standard date format.
IsDate('Jan 03, 2005', 'MMM dd,yyyy')
Checks if the specified string matches the specified string format.