MINUTES_DIFF

Returns the number of minutes between two datetimes.

Analyze Syntax

func.minutes_diff(<end>, <start>)

Analyze Examples

func.minutes_diff('2024-01-01 11:00:00', '2024-01-01 10:00:00')

┌────┐
 60  
└────┘

SQL Syntax

MINUTES_DIFF(<end>, <start>)

SQL Examples

SELECT MINUTES_DIFF('2024-01-01 11:00:00', '2024-01-01 10:00:00');

┌────┐
 60  
└────┘