IDIOMS

Beat the clock

To do something before a deadline.

Example: They managed to beat the clock and arrive a few minutes before the conference started.