When you use sunset or sunrise you can enter latitude and longitude co-ordinates in the step, otherwise it will use the latitude and longitude values set in your user settings to determine your location. Sunset is then based on that location.
You might find this doesn't always coincide directly with sunset, but should be within 15-30 minutes of sunset.