last minute
[ min-it ]
/ ˈmɪn ɪt /
noun
the time just preceding a deadline or when some decisive action must be taken.
Origin of last minute
First recorded in 1915–20