Why applying IPO is allowed only till 5 pm?

Why applying IPO is allowed only till 5 pm (and upto 1 to 3 pm on last day) ?
I thought we have IT systems that can take orders 24x7. Why can’t offline orders be collected and executed during IPO application time window if there are such constraints.