Version

IsInvalidTime(DateTime,TimeZoneDefinition) Method

Determines if a DateTime is invalid
Syntax
'Declaration
 
Protected Overloads Function IsInvalidTime( _
   ByVal dateTime As Date, _
   ByVal timeZoneDef As TimeZoneInfoProvider.TimeZoneDefinition _
) As Boolean
protected bool IsInvalidTime( 
   DateTime dateTime,
   TimeZoneInfoProvider.TimeZoneDefinition timeZoneDef
)

Parameters

dateTime
The 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