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



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

Parameters

value
The DateTime value that is to be converted.

Return Value

A TdTimestampWithTimeZone is returned that is equivalent to the DateTime value.
Remarks
When the DateTime value is converted, the UtcOffset of the TdTimestampWithTimeZone will be set to the local time of the machine.
Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdTimestampWithTimeZone Structure
TdTimestampWithTimeZone Members
Overload List