Input (grade 8): It occurs when the Sun is transitting the celestial meridian.
Output (grade 7): It occurs when the Sun is exactly halfway between sunrise (dawn) and sunset.