This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Indicates whether the given DateTime value is within the Daylight Saving Time range for the current time zone.

Namespace: Smartsite.Runtime.Modules
Assembly:  Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)

Syntax

C#Copy imageCopy Code
[(IsDeterministic = true)]
public static <bool> IsDaylightSavingTime(
	 dt
)
Visual Basic (Declaration)Copy imageCopy Code
<(IsDeterministic := True)> _
Public Shared Function IsDaylightSavingTime ( _
	dt As  _
) As (Of )

Parameters

dt
DateTime
A DateTime.

Return Value

Returns true if the given DateTime is based on local time or an unspecified time zone, and the value is within the Daylight Saving Time range for the current time zone or false if the given DateTime is based on universal time.

See Also

Advanced