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

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

See Also

Reference

TdTime Structure
TdTime Members
Overload List