Indicates whether the given DateTime value is within the Daylight Saving Time range for the current time zone.

Syntax

Smartsite SXML CopyCode image Copy Code
boolean datetime.isdaylightsavingtime(datetime dt)

Parameters

Name Data Type Description
dt DateTime A DateTime.

Return Value

Data Type Description
Boolean 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.

Expand image Example

SXML