IsDate
The IsDate() function assesses whether an element is a date.
Related functions: IsDefined, IsElement, IsNull
Syntax
IsDate (Element)
Element | Any input value |
Note:
If the element does not exist, or an error is returned when interrogating the value of the element, the IsDate() function returns FALSE.
Examples
Function | Output |
IsDate(“23-December-2014”) | TRUE |
IsDate(“ABC”) | FALSE |
IsDate(“2015/06/06”) | TRUE |
IsDate(“1 Jan 2010”) | TRUE |
IsDate(“0”) | FALSE |