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

Target Platforms: Windows 8.1, Windows 10, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019

See Also

Reference

TdTime Structure
TdTime Members