You can extend the deadline on any active homework assignment.
Just go to the report page for the homework assignment, and click the "Edit" button next to the deadline on the top-right corner.
You can extend a homework deadline up to 2 weeks into the future. There is no limit to the number of times the deadline can be extended, just make sure it's done before the current deadline expires.
Here's how you can edit the deadline: