You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TIMESTAMPDIFF(unit,datetime_expr1,datetime_expr2): Returns datetime_expr2 − datetime_expr1, where datetime_expr1 and datetime_expr2 are date or datetime expressions. One expression may be a date and the other a datetime; a date value is treated as a datetime having the time part '00:00:00' where necessary. This function returns NULL if datetime_expr1 or datetime_expr2 is NULL.
The unit parameter should be one of the following values: MICROSECOND (microseconds), SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, QUARTER, or YEAR
Description
TIMESTAMPDIFF(unit,datetime_expr1,datetime_expr2): Returns datetime_expr2 − datetime_expr1, where datetime_expr1 and datetime_expr2 are date or datetime expressions. One expression may be a date and the other a datetime; a date value is treated as a datetime having the time part '00:00:00' where necessary. This function returns NULL if datetime_expr1 or datetime_expr2 is NULL.
Use case
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: