Send feedback on this topic.
Teradata.Client.Provider
Explicit Type Conversion(TimeSpan,TdTime) Operator



Teradata.Client.Provider Namespace > TdTime Structure > Explicit Type Conversion Operator : Explicit Type Conversion(TimeSpan,TdTime) Operator
The TdTime that is to be converted.
The TdTime is converted into a TimeSpan that represents the time.
Syntax
'Declaration
 
Overloads Public Operator Narrowing CType( _
   ByVal value As TdTime _
) As TimeSpan
'Usage
 
public TimeSpan operator explicit( 
   TdTime value
)
public:
TimeSpan operator explicit( 
   TdTime value
)

Parameters

value
The TdTime that is to be converted.

Return Value

A TimeSpan is returned.
Exceptions
ExceptionDescription
The TdTime value is TdTime.Null.
Remarks

The TimeSpan structure that is returned will contain the time in 24 hour format.

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