Send feedback on this topic.
Teradata.Client.Provider
Explicit Type Conversion(TdPeriodTimestampWithTimeZone,TdTimestampWithTimeZone) Operator



Teradata.Client.Provider Namespace > TdTimestampWithTimeZone Structure > Explicit Type Conversion Operator : Explicit Type Conversion(TdPeriodTimestampWithTimeZone,TdTimestampWithTimeZone) Operator
The TdTimestampWithTimeZone that is to be converted.
Converts a TdTimestampWithTimeZone into a TdPeriodTimestampWithTimeZone.
Syntax
'Declaration
 
Overloads Public Operator Narrowing CType( _
   ByVal value As TdTimestampWithTimeZone _
) As TdPeriodTimestampWithTimeZone
'Usage
 
public TdPeriodTimestampWithTimeZone operator explicit( 
   TdTimestampWithTimeZone value
)
public:
TdPeriodTimestampWithTimeZone operator explicit( 
   TdTimestampWithTimeZone value
)

Parameters

value
The TdTimestampWithTimeZone that is to be converted.

Return Value

a TdPeriodTimestampWithTimeZone is returned that has a beginning bound of value and ending bound that is one time granule greater than value.
Exceptions
ExceptionDescription
The ending bound could not be created because the value is set to TdTimestampWithTimeZone.MaxValue
Remarks
A TdTimestampWithTimeZone can be cast to a TdPeriodTimestampWithTimeZone. The beginning bounds of the period will be value, and the ending bound will be the value plus one time granule.
Requirements

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdTimestampWithTimeZone Structure
TdTimestampWithTimeZone Members
Overload List