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



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

Parameters

value
The TdDate that is to be converted.

Return Value

A TdTimestamp is returned.
Remarks

The time component of the timestamp will be set to "00:00:00.000000".

If the TdDate value is TdDate.Null a TdTimestamp.Null is returned.

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