IsDate
The IsDate function determins if a variable holds a
date value or a string that can be converted to a date. If the
variable holds a date-compatible value, the function return
True. Otherwise, this function will return False.
sDate = "1/11/2001" If IsDate(sDate) Then Response.Write sDate & " is a date" dDate = Date() If IsDate(dDate) Then Response.Write dDate & " is a date"
|
 |

|