TIMEDIFF
Difference between two times.
Category: Date & Time Functions
Syntax
sql
TIMEDIFF(time1, time2)Arguments
- time1
temporalFirst date or timestamp value. - time2
temporalSecond date or timestamp value.
Returns
INTEGER — Returns the computed result as INTEGER.