What if I submit my tax extension before the deadline but am not notified by the IRS until after midnight?

The reality is the IRS allows taxpayers to file corrections to their extensions for a number of days after the deadline (about 5 days) so while conventional wisdom is that midnight of the tax deadline day is a hard date and time, the IRS does understand that errors happen and allows time for those errors to get corrected.