Returns the time of sunset calculated based on your location and any adjustments you've made in the Preferences.
sunset returns an applescript date for todays sunset time.
write log "sunset today is at: " & (sunset as text)