My teacher assigned a project in class.
The entire night was spent working on the project, but it got done.
I waited until one week before it was due to start the project.
I waited until the day before it was due to start the project.