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

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdDate Structure
TdDate Members