IsDaylightSavingTime Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Returns a value indicating whether the specified date and time is within a daylight saving time period.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

'Declaration
Public Overridable Function IsDaylightSavingTime ( _
	time As DateTime _
) As Boolean

Parameters

time
Type: System..::..DateTime
A date and time.

Return Value

Type: System..::..Boolean
true if time is in a daylight saving time period; otherwise, false.

The year to which the daylight saving time period applies is derived from the time parameter.

Show: