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



Teradata.Client.Provider Namespace > TdIntervalDay Structure > Explicit Type Conversion Operator : Explicit Type Conversion(TimeSpan,TdIntervalDay) Operator
A TdIntervalDay interval.
Converts a TdIntervalDay to a TimeSpan.
Syntax
'Declaration
 
Overloads Public Operator Narrowing CType( _
   ByVal value As TdIntervalDay _
) As TimeSpan
'Usage
 
public TimeSpan operator explicit( 
   TdIntervalDay value
)
public:
TimeSpan operator explicit( 
   TdIntervalDay value
)

Parameters

value
A TdIntervalDay interval.

Return Value

A TimeSpan.
Exceptions
ExceptionDescription
The TdIntervalDay value is TdIntervalDay.Null.
Remarks
The TimeSpan time components are represented 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

TdIntervalDay Structure
TdIntervalDay Members
Overload List