Skip to main content

DaylightQ

DaylightQ[] gives True if it is currently daylight from the user's location.

DaylightQ[datespec] gives True if it is daylight from the user's location on the specified datespec.

DaylightQ[locationspec] gives True if it is currently daylight from the specified locationspec.

DaylightQ[locationspec,datespec] gives True if it is daylight from the specified locationspec on the specified datespec.

DaylightQ[{{location1,date1},{location2,date2},…}] gives True if it is daylight from the specified locations and dates.

DaylightQ[locationspec,datespec,inclusionspec] gives True if it is daylight from the specified locationspec on the specified datespec taking inclusionspec into account.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.