They were trying to beat the midnight deadline.
⇑ Translate the sentence above by Google ⇑
Related: deadline, midnight
Prev: They finished the work before the deadline.
Next: He expected the transfer to go through by today's noon deadline.