The tenants must vacate the apartment by the end of the month.
They had to vacate the apartment by the end of the month.