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



Teradata.Client.Provider Namespace > TdPeriodDate Structure > ToString Method : ToString() Method
This instance of TdPeriodDate is converted to a String representation.
Syntax
'Declaration
 
Public Overloads Overrides Function ToString() As String
'Usage
 
Dim instance As TdPeriodDate
Dim value As String
 
value = instance.ToString()
public override string ToString()
public:
String^ ToString(); override 

Return Value

The string representation of TdPeriodDate is returned.
Remarks

When a TdPeriodDate is converted to a string, both the beginning and ending bounds will be included in the returning string. The format of the string will be:

    (Beginning Bound, Ending Bound)  

The period will be surrounded by parentheses, and the comma will be used as the delimiter between the begin and end bounds.

The string representation of TdDate will be equivalent to the "G" format specifier which is

    (yyyy-MM-dd, yyyy-MM-dd)

An example of a string representation of a TdPeriodDate is

    (2007-10-31, 2007-11-27)

Refer to Period Strings for additional information.

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

TdPeriodDate Structure
TdPeriodDate Members
Overload List