NAME
IsDate — Check whether given string is in format of a date.
SYNOPSIS
IsDate StringValue
DESCRIPTION
Return Value
1 Given string is in the format of a date.
0 Given string is not in the format of a date.
Arguments
StringValueString to check if it is in the format of a date.
More Info
Note that this command is (currently) only as capable as the clock scan command on which it is based. This means that if a clock scan succeeds with the configured date format then this command will return true.

For information about how to configure the format, see About Date and Time Commands.


For information regarding exceptions / errors, see here.
EXAMPLES
% IsDate 2000-01-02
1
SEE ALSO
IsDatetime, IsTimeOfDay, SetDateFormat
KEYWORDS
check, date, validation, verification