race against time

Meaning 1
to run or compete in a timed event (same as against the clock)
Sentence 1
The horse raced against his previous time on the track.
Meaning 2
to hurry to meet a deadline
Sentence 2
We better race against time. The copy for the newspaper is due at four o'clock.