When you’re booking a flight you will see a Departure time and arrival time.
Those are the times that the real flight (let’s say DLH456 10:25 – 13:20) uses.
You however can fly whenever you want. If a flight is scheduled for e.g. 1 am, you can still fly it at 3pm.