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



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

Return Value

The string representation of TdTime is returned.
Remarks

The string representation of the timestamp will be in the format: "HH:mm:ss.ffffff". For example, 23:12:45.0023.

The number of digits that will appear in the sub-seconds is dependent on the TdTime.Scale. For example, if the Scale is set to 4, four digits will appear in the fractional component.

If this instance is TdTime.Null, a string that contains the value "Null" is returned.

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

TdTime Structure
TdTime Members
Overload List