MINUTES_DIFF (Lakehouse v2)
Returns the number of minutes between two datetimes.
Analyze Syntax
Section titled “Analyze Syntax”func.minutes_diff(<end>, <start>)Analyze Examples
Section titled “Analyze Examples”func.minutes_diff('2024-01-01 11:00:00', '2024-01-01 10:00:00')
┌────┐│ 60 │└────┘SQL Syntax
Section titled “SQL Syntax”MINUTES_DIFF(<end>, <start>)SQL Examples
Section titled “SQL Examples”SELECT MINUTES_DIFF('2024-01-01 11:00:00', '2024-01-01 10:00:00');
┌────┐│ 60 │└────┘