NAME
IsDatetimeQuantity — Check whether or not the value can be added to a datetime.
SYNOPSIS
IsDatetimeQuantity DatetimeQuantity
DESCRIPTION
Return Value
1 Value passed in can be added to a datetime.
0 Value passed in cannot be added to a datetime.
Arguments
DatetimeQuantityValue to check. See More Info for what is a valid format.
More Info
Currently, the datetime quantity must be of the form ddddThh:mm:ss, where dd is four digits for the number of days to add or subtract, hh is two digits for the number of hours, and mm and ss are for minutes and seconds.

You can make the quantity negative by putting a minus sign in the front.


For information regarding exceptions / errors, see here.
EXAMPLES
% IsDatetimeQuantity 0001T01:01:01
1


SEE ALSO
IsDate, IsDatetime, IsHhmmss, IsTimeOfDay
KEYWORDS
check, datetime, validation, verification