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



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

Parameters

value
The TdPeriodTimestamp that will be converted into a TdPeriodTimestampWithTimeZone.

Return Value

Remarks

If the ending bound is set to the UNTIL_CHANGED value for TdPeriodTimestamp, the ending bound of the result will be set to the UNTIL_CHANGED value for the resulting TdPeriodTimestampWithTimeZone. The UTC offset component is also set to the offset of the local machine, and the Scale of the period is set to 6.

When the TdPeriodTimestamp is converted into a TdPeriodTimestampWithTimeZone, the UTC offset is set to the offset of the local machine.

Requirements

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

See Also

Reference

TdPeriodTimestamp Structure
TdPeriodTimestamp Members
Overload List