If you closed your business in October, then you would use that date on your 1065. It would have run from January until October, which is considered a short tax year for calendar year businesses.
For more information, please see the following link:
1065