Send feedback on this topic.
Teradata.Client.Provider
ToString(IFormatProvider) Method



Teradata.Client.Provider Namespace > TdDate Structure > ToString Method : ToString(IFormatProvider) Method
The culture specific information. This parameter is ignored.
Converts a TdDate into the equivalent string representation.
Syntax
'Declaration
 
Public Overloads Function ToString( _
   ByVal provider As IFormatProvider _
) As String
'Usage
 
Dim instance As TdDate
Dim provider As IFormatProvider
Dim value As String
 
value = instance.ToString(provider)
public string ToString( 
   IFormatProvider provider
)
public:
String^ ToString( 
   IFormatProvider^ provider
) 

Parameters

provider
The culture specific information. This parameter is ignored.

Return Value

The string representation of TdDate is in ANSI date format which is "yyyy-MM-dd".
Remarks

By default this method converts this instance of TdDate using the "G" format specifier (see TdDate.ToString)-- the ANSI string representation.

The cultural information specified in the provider parameter is ignored.

If the this instance is TdDate.Null, a string that contains "Null" will be returned.

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
Overload List