Send feedback on this topic.
Teradata.Client.Provider
Explicit Type Conversion Operator (TdPeriodTime)



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

Parameters

value
The TdPeriodTime that will be converted into a TdPeriodTimeWithTimeZone.

Return Value

A TdPeriodTimeWithTimeZone is returned.
Remarks
When the TdPeriodTime is converted into a TdPeriodTimeWithTimeZone, the UTC offset will be set to the offset of the local machine.
Requirements
ProductVersionsPlatforms
.NET6, 7Windows, Linux, MacOS
.NET Framework4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdPeriodTime Structure
TdPeriodTime Members