IsDatetimeQuantity — Check whether or not the value can be added to a datetime.
Value passed in can be added to a datetime.
Value passed in cannot be added to a datetime.
Value to check. See More Info for what is a valid format.
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.