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



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

Parameters

value
The TdTimestamp value that is to be converted.

Return Value

A System.DateTime is returned that is equivalent to the TdTimestamp value.

Exceptions
ExceptionDescription
The TdTimestamp value is TdTimestamp.Null.
Requirements

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

See Also

Reference

TdTimestamp Structure
TdTimestamp Members
Overload List