My teacher assigned a project in class.
The entire night was spent working on the project, but it got done.
I started right away even though it wasn't due yet.
I didn't start working on the project until the night before it was due.