Version

IsAmbiguous(DateTime,TimeZoneDefinition) Method

Returns whether a time is ambiguous, i.e. it it at a daylight savings transition
Syntax
'Declaration
 
Protected Overloads Function IsAmbiguous( _
   ByVal dateTime As Date, _
   ByVal timeZoneDef As TimeZoneInfoProvider.TimeZoneDefinition _
) As Boolean
protected bool IsAmbiguous( 
   DateTime dateTime,
   TimeZoneInfoProvider.TimeZoneDefinition timeZoneDef
)

Parameters

dateTime
The specific date time
timeZoneDef
The time zone the date time is relative to
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also