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



Teradata.Client.Provider Namespace > TdPeriodTimestamp Structure > Explicit Type Conversion Operator : Explicit Type Conversion(TdPeriodDate,TdPeriodTimestamp) Operator
The TdPeriodTimestamp that will be converted into a TdPeriodDate.
Converts a TdPeriodTimestamp into a TdPeriodDate.
Syntax
'Declaration
 
Overloads Public Operator Narrowing CType( _
   ByVal value As TdPeriodTimestamp _
) As TdPeriodDate
'Usage
 
public TdPeriodDate operator explicit( 
   TdPeriodTimestamp value
)
public:
TdPeriodDate operator explicit( 
   TdPeriodTimestamp value
)

Parameters

value
The TdPeriodTimestamp that will be converted into a TdPeriodDate.

Return Value

A TdPeriodDate is returned.
Exceptions
ExceptionDescription
The ending bound of the value needs to be at least one day greater than the beginning bound.
Remarks
The time components of the beginning and ending bound will be truncated when TdPeriodTimestamp is converted into a TdPeriodDate.
Requirements

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

See Also

Reference

TdPeriodTimestamp Structure
TdPeriodTimestamp Members
Overload List