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

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