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
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

TdTimestamp Structure
TdTimestamp Members
Overload List