Checks the given date to determine if it is a valid date
#include <Date.au3>
_DateIsValid ( $sDate )
$sDate | The date to be checked. |
Success: | 1. |
Failure: | 0 if the specified date is not valid. |
This function takes a date input in one of the following formats:
"yyyy/mm/dd[ hh:mm[:ss]]" or "yyyy/mm/dd[Thh:mm[:ss]]"
"yyyy-mm-dd[ hh:mm[:ss]]" or "yyyy-mm-dd[Thh:mm[:ss]]"
"yyyy.mm.dd[ hh:mm[:ss]]" or "yyyy.mm.dd[Thh:mm[:ss]]"