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 (
DateTime time
)
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 .NET Micro Framework version 2.0, 2.5