DayLightSavings

Purpose

This function returns whether daylight savings is currently active.  This is a read-only property.

Parameters

None.

Returns

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.  

Example

sub main()

if hs.DayLightSavings then
 hs.WriteLog "We are currently in daylight savings!"
end if

end sub