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

Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdTimestamp Structure
TdTimestamp Members
Overload List