checkdate - Check Date against Condition
Checks a date against different conditions.
date
DD.MM.YYYY
The date to check. Your date needs to be in one of the following formats DD.MM.YYYY, DD.MM.YY, DD.MM.YYYY HH:mm, DD.MM.YY HH:mm, MM-DD-YYYY, MM-DD-YYYY HH:mm, MM-DD-YY, MM-DD-YY HH:mm.
Example:
14.08.2020
condition
string
Condition to check the date against
Possible values are: isDate, isWeekday, isWeekend, isLeapYear, isUTC
Example:
isDate