- Name
-
ValidateDate -- check if date is valid (V7.1)
- Synopsis
-
b = ValidateDate(d$)
- Function
-
This function can be used to check if the date given in
d$ is valid. 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.
- Inputs
-
- d$
- date to validate
- Results
-
- b
True if date is valid, False otherwise
Show TOC