Papa rentre rarement à la maison avant minuit.
Dad rarely gets back home before midnight.
Ce contrat prend effet à partir de minuit.
This agreement becomes valid at midnight.
Il vînt à la maison presqu'à minuit.
He came home at almost midnight.
FrenchTextbook teaches rules like this, in a full beginner course.
162 lessons, 4,000+ exercises, and 6+ hours of audio.