User Tools

Site Tools


Sidebar

dictionary:xtension:daylight

Table of Contents

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: 2017/10/15 16:09 by James Sentman