fixed formula for departure time