How is sunrise and sunset determined?
The sunrise and sunset is calculated based on a smooth Earth (no mountains). The measurement of sunrise is taken the moment the top of the sun breaks the horizon while the measurement of sunset is taken the moment the top of the sun dips below the horizon. Additional information is available from the U.S. Naval Meteorology and Oceanography Command website.