set a to degrees of the sun from horizon from east to west and it will get your approximate longitude delta is earth's tilt