DECLARE @ShiftStart TIME = '05:30';
DECLARE @ShiftEnd TIME = '10:00';
SELECT DATEDIFF(MINUTE, @ShiftStart, @ShiftEnd) AS MinutesWorked;