TwilightPro calculates the night time, sunrise and sunset in-flight, between two points on earth defined either as airports or coordinates. The values of sunrise and sunset are adjusted with the altitude. There are selectable standard models for twilight, in order to obtain the times in function of the desired angular position of the sun below the horizon: official, civil, nautical, astronomical as well as values for Fajr and Maghrib recommended by Islamic Institutions. For situational awareness, there is the representation of the sun events on a map as well as tabulated. If desired, a toggle allows the user to see the flight progress and the variation of the times of sunrise and sunset through the route.