ADDTIME(t,a) and SUBTIME(t,a) are
time functions that calculate a time/timestamp value in the past or future.t:
time_or_timestamp_expression
Result of the ADDTIME(t,a)/SUBTIME(t,a) function | |
Addition of a to t/ |
Time value or time stamp value |
SUBTIME(t,a) and t and a are time values |
a must be less than t, otherwise an error is output |
t or a is NULL value |
NULL value |