Returns the hour of day at which sunrise occurs. You can use this in your code to time events that should only occur at sunrise or for which you want to ensure occur between sunrise and sunset or vice versa.
Example:
if( %getTime() == %sunrise() ) { yell KAAAAAAAWWWWWWWWWK-A-DOOOOOOOOOOOOOOOOOOODLE-DOOOOOOOOOOO! } endif |