What database function is to be used to get the difference between 2 time stamps in minutes?
I have tried using the function - minute(${datetime})
If the in time is 10:17:00 & out time is 10:25:00 the difference between both shows correctly as 8
If the in time is 10:15:00 & out time is 11:25:00 the difference between both shows as 0 instead of 60
What function should be used, such that 11:25:00 - 10:15:00 yields a result of 60?