Send feedback on this topic.
Teradata.Client.Provider
TdDate Constructor(DateTime)



Teradata.Client.Provider Namespace > TdDate Structure > TdDate Constructor : TdDate Constructor(DateTime)
The DateTime structure that contains the specified date.
A TdDate is created from the System.DateTime structure.
Syntax
'Declaration
 
Public Function New( _
   ByVal value As Date _
)
'Usage
 
Dim value As Date
 
Dim instance As New TdDate(value)
public TdDate( 
   DateTime value
)
public:
TdDate( 
   DateTime value
)

Parameters

value
The DateTime structure that contains the specified date.
Remarks

The time components of the DateTime structure will be ignored.

The calendar of the DateTime structure that is passed in as a parameter must be based on the Gregorian calendar.

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

TdDate Structure
TdDate Members
Overload List