After you file

if you submitted on May 17 and your return is ACCEPTED, you  filed on time.

If REJECTED, you can fix that, if possible, and still be on time.