H1 Extension Timeline

Hello

My current H1 expires in October 2021.
How soon before can I apply for an H1 extension ?
Edit - October 2022

Aee you sure its Oct 2021?

Ah sorry it is October 2022.

Within 180 days of the I-94 expiry.

Thank you for the response.