NAME
IsTimeOfDay — Check whether given string is of the form hh:mm:ss.
SYNOPSIS
IsTimeOfDay StringValue
DESCRIPTION
Return Value
1 String is of form hh:mm:ss.
0 String is not of form hh:mm:ss.
Arguments
StringValueString to check if it is of the form hh:mm:ss.
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 time-of-day 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
% IsTimeOfDay 01:02:03
1
SEE ALSO
IsDate, IsDatetime, SetTimeOfDayFormat
KEYWORDS
check, datetime, time, validation, verification