b = ValidateDate(d$)
ValidateDate()makes sure that all individual date and time components are within their valid ranges, e.g. February 29th is only a valid date in leap years. The
d$parameter must be in Hollywood's standard date format, i.e.
dd-mmm-yyyy hh:mm:ss. See CompareStr for details.
Trueif date is valid,