Click or drag to resize

TimeZoneInformationIsDaylightSavingTime Method (DateTime, DaylightTime)

Determines whether or not the specified date and time is within the daylight saving time period.

Namespace:  WorkflowGen.My.Globalization
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 8.3.3.0 (8.3.3.20240926)
Syntax
public static bool IsDaylightSavingTime(
	DateTime time,
	DaylightTime daylightTime
)

Parameters

time
Type: SystemDateTime
A DateTime to evaluate
daylightTime
Type: System.GlobalizationDaylightTime
The DaylightTime object that represents a daylight time period.

Return Value

Type: Boolean
True if the time value occurs during the daylight saving time period for the given year, otherwise false.
See Also