How it is calculated
The night is taken from Maghrib to the next Fajr. The last third begins at Maghrib plus two thirds of that length, and Islamic midnight is its midpoint. Scholars differ on how the night is defined, so the midpoint between sunset and sunrise is shown as well.