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



Teradata.Client.Provider Namespace > TdPeriodTimestampWithTimeZone Structure : IntervalDayToSecond Method
Calculates the span of time between the starting and ending bounds and returns the result in a TdIntervalDayToSecond structure.
Syntax
'Declaration
 
Public Function IntervalDayToSecond() As TdIntervalDayToSecond
'Usage
 
Dim instance As TdPeriodTimestampWithTimeZone
Dim value As TdIntervalDayToSecond
 
value = instance.IntervalDayToSecond()
public TdIntervalDayToSecond IntervalDayToSecond()
public:
TdIntervalDayToSecond IntervalDayToSecond(); 

Return Value

The TdIntervalDayToSecond value that contains the difference in hours, minutes, seconds and microseconds between the period ending bound and the period starting bound.
Exceptions
ExceptionDescription
This instance of TdPeriodTimestampWithTimeZone is null.
The period exceeds the TdIntervalDayToSecond.MinValue or TdIntervalDayToSecond.MaxValue.
Remarks

The difference between the ending bound and the starting bound is calculated. The number of hours, minutes, seconds and microseconds 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

TdPeriodTimestampWithTimeZone Structure
TdPeriodTimestampWithTimeZone Members