TimeZoneIsDaylightSavingTime Method (DateTime) |
Returns a value indicating whether the specified date and time is within a
daylight saving time period.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public bool IsDaylightSavingTime(
DateTime time
)
Public Function IsDaylightSavingTime (
time As DateTime
) As Boolean
Parameters
- time
- Type: SystemDateTime
DateTime to evaluate
Return Value
Type:
BooleanTrue if the time value occurs during the daylight saving time
period for the given year, otherwise false.
Remarks The summary description is lifted right from the MSDN docs for the
same method on the TimeZone class.
See Also