returns the sunrise time calculated based on your location and any adjustments you've made in the Preferences dialog.
sunrise returns applescript date object.
write log "sunrise today was at " & (sunrise as text)