A day order if not executed gets cancelled at the end of the trading day. Whereas an IOC ends as soon as the securities are unavailable under the given price and quantity.