After you file

The date/time you e-filed your return is the date/time that'll be used to determine if it's on time.  It may take a couple of days for the agencies to acknowledge your filing but that original date/time will be used to determine if it's on time.  So as long as you e-filed before the deadline, they're considered on time!