Send feedback on this topic.
Teradata.Client.Provider
ToDateTime Method



Teradata.Client.Provider Namespace > TdDate Structure : ToDateTime Method
This instance of TdDate will be converted to a System.DateTime.
Syntax
'Declaration
 
Public Shared Function ToDateTime( _
   ByVal value As TdDate _
) As Date
'Usage
 
Dim value As TdDate
Dim value As Date
 
value = TdDate.ToDateTime(value)
public static DateTime ToDateTime( 
   TdDate value
)
public:
static DateTime ToDateTime( 
   TdDate value
) 

Parameters

value

Return Value

A DateTime structure is returned that is equivalent to TdDate.
Exceptions
ExceptionDescription
The value parameter is null.
Requirements
ProductVersionsPlatforms
.NET6, 7Windows, Linux, MacOS
.NET Framework4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdDate Structure
TdDate Members