TimeZone.IsDaylightSavingTime Method
Returns a value that indicates whether a specified date and time is in a daylight saving time period.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
[MethodImplAttribute]
public virtual bool IsDaylightSavingTime (
DateTimetime
)
Parameters
- time
The specified date and time.
Return Value
true if the time parameter is in a daylight saving time period; otherwise, false. Note that if time is a null reference, the return value is false.
Remarks
The year to which the daylight saving time period applies is derived from the time parameter.
Version Information
Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, and 4.1.