I've read many places that the ideal time is 12:01 a.m. ET Wednesday. But I don't think you need to stay up late to get a good deal. Anytime Wednesday will suffice.
I've found the only time not to buy tickets is on the weekend. That's when higher fares are tested.