Send feedback on this topic.
Teradata.Client.Provider
IntervalDayToSecond Method (TdPeriodDate)



Teradata.Client.Provider Namespace > TdPeriodDate Structure : IntervalDayToSecond Method
Calculates the number of days in the period and returns the result in a TdIntervalDayToSecond structure.
Syntax
'Declaration
 
Public Function IntervalDayToSecond() As TdIntervalDayToSecond
'Usage
 
Dim instance As TdPeriodDate
Dim value As TdIntervalDayToSecond
 
value = instance.IntervalDayToSecond()
public TdIntervalDayToSecond IntervalDayToSecond()
public:
TdIntervalDayToSecond IntervalDayToSecond(); 

Return Value

The TdIntervalDayToSecond value that contains the difference in days between the period ending bound and the period starting bound.
Exceptions
ExceptionDescription
This instance of TdPeriodDate is null.
Remarks

The difference between the ending bound and the starting bound is calculated. The number of days are calculated and returned as a TdIntervalDayToSecond.

Requirements

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

See Also

Reference

TdPeriodDate Structure
TdPeriodDate Members