Returns a boolean value indicating whether the specified expression can be converted to a date.
Copy Code |
---|
bool IsDate ( |
true, if value is a date or can be converted to a valid date; otherwise, false.
A value is recognized as a date if it is a date, it is a string that contains a valid representation of a date, or it is a number. In the last case, the number will be interpreted as the number of ticks.
Inspection Functions
CDate Function
IsNull Function
IsNumeric Function