I would like to calculate the time between a start and an end datetime (formatted in Minutes) minus a the breaktime inbetween (counted as Minutes). Sometimes but not everytime a get the result of 1 Minute less than the correct result.
E.g. Start datetime 01.01.2024 07:30 am // End datetime 01.01.2024 4:30 pm // Break of 60 Minutes. The correct result would be 480 Minutes resp. 8 hours. But I get the result in the database with 479 Minutes.
Do you have any idea why this happens (sometimes)?

Many thanks for your support.