Skip to content

Returns the number of minutes between two datetimes.

func.minutes_diff(<end>, <start>)
func.minutes_diff('2024-01-01 11:00:00', '2024-01-01 10:00:00')
┌────┐
60
└────┘
MINUTES_DIFF(<end>, <start>)
SELECT MINUTES_DIFF('2024-01-01 11:00:00', '2024-01-01 10:00:00');
┌────┐
60
└────┘