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
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdPeriodDate Structure
TdPeriodDate Members