When flying from Yogyakarta to Sri Lanka, the time of day you decide to fly out makes little to no difference towards the overall price you’ll pay on tickets.
If you book a flight to Sri Lanka from Yogyakarta, you will be flying from Adisutjipto, which is the city’s only airport. Yogyakarta Adisutjipto (JOG) is located 6.8 km from the centre of Yogyakarta.