A sky model, not a navigation fix
UTC inputs; east-positive longitude; bearings clockwise from true north. Refraction, terrain and clouds affect observed daylight. Horizon obstruction is approximate and does not move civil twilight. A phone compass may require calibration and magnetic declination correction. Carry a map and physical compass.
Model details & unit conventions ↗