What is deadline to e-file 2021 tax year returns using TurboTax?

Hello, I still need to e-file a tax return for tax year 2021. I believe the deadline is 17 October 2022. Can you please confirm until what date/time I can e-file using desktop TurboTax? And, if rejected for some reason, would I be able to resubmit after the deadline? Thank you!