At the last possible moment; at the last minute.
Having sufficient or the required properties for a certain purpose or task; appropriate to a certain occasion.