Date and time types support the addition or subtraction of various durations. Note that this operation produces the result of the same type as the other operand:
Of course, durations can be added and subtracted from each other:
Finally, it's possible to subtract one datetime
value
from another to get a duration
, but this operation is
illegal for any of the cal
types: