BooleanValue =
aDateTime.
IsDaylightSavingsTime New in 2019r3Supported for all project types and targets.
Indicates whether the DateTime is in daylight savings time or not.
Sample Code
The following example displays the current hour.
Var d As DateTime = DateTime.Now
Label1.Value = If(d.IsDaylightSavingsTime, "Yes", "No")