condition sun

condition sun Structure: Conditional on the Sun's position being between two events.

condition sun structure
not before astronomical sun event: optional
not after astronomical sun event: optional
geolocation geolocation
date date: optional

Description

sun position tests if the Sun's position, observed from given location on Earth, is between two astronomic events. Typically this condition is used to test if the date and time is during the day or night.

Fields

not before

The date is not before this Sun event.

not after

The date is not after this Sun event.

geolocation

Location to calculate Sun position from.

date

Date to calculate Sun position on.