Calculates hours back