Daylight

Returns true if called when it's light outside based on location calculations of sunrise/sunset times and your adjustment of them in the preferences dialog.

Usage:

daylight
returns boolean true if it's daylight outside.

Examples:

if not (daylight) then
  turnon "some outside lights"
end if
dictionary/xtension/daylight.txt · Last modified: 2009/09/28 17:02 by James Sentman
CC Attribution-No Derivative Works 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0