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



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

Return Value

The string representation of TdTimestampWithTimeZone is returned.
Remarks

The string representation of the timestamp will be in the format: "yyyy-MM-dd HH:mm:ss.ffffffZ". For example, "2007-12-31 23:12:45.0023-08:00".

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

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

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

TdTimestampWithTimeZone Structure
TdTimestampWithTimeZone Members
Overload List