Send feedback on this topic.
Teradata.Client.Provider
ToTimeSpan Method



Teradata.Client.Provider Namespace > TdTime Structure : ToTimeSpan Method
Converts this instance of TdTime into a TimeSpan.
Syntax
'Declaration
 
Public Function ToTimeSpan() As TimeSpan
'Usage
 
Dim instance As TdTime
Dim value As TimeSpan
 
value = instance.ToTimeSpan()
public TimeSpan ToTimeSpan()
public:
TimeSpan ToTimeSpan(); 

Return Value

A TimeSpan is returned that is equivalent to this instance of TdTime.
Exceptions
ExceptionDescription
This instance of TdTime is TdTime.Null.
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