How to use it?

The market closes at 8 o'clock. Order to buy at 7:59:58. Close the position at 8:00:01?