This function returns whether daylight savings is currently active. This is a read-only property.
None.
Return value: Currently
in daylight savings
Type: boolean
Description: The return value (TRUE or FALSE) indicates whether the current
date falls under daylight savings time as reported by the operating system.
Daylight savings is not used in all locations.
sub main()
if hs.DayLightSavings then
hs.WriteLog
"We are currently in daylight savings!"
end if
end sub