You do have until midnight to file. Waiting until the last minute is not a good idea in case anything goes wrong when you try to e-file.