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



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

Parameters

value
The TdPeriodDate that will be converted into a TdPeriodTimestampWithTimeZone.

Return Value

Remarks

If the ending bound is set to UNTIL_CHANGED value for the TdPeriodDate, the ending bound of the result will be set to the equivalent value of UNTIL_CHANGED for the resulting TdPeriodTimestampWithTimeZone. The time components for the beginning bound of the result will be set to "00:00:00.000000", and the UTC offset to the offset of the local machine. The Scale of the period is set to 6.

If the end bound is not UNTIL_CHANGED, the time components for both the beginning and ending bounds will be set to "00:00:00", and the UTC Offset will be set to the offset of the local machine. The Scale of the period is set to 0.

Requirements

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

See Also

Reference

TdPeriodDate Structure
TdPeriodDate Members
Overload List