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

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

See Also

Reference

TdPeriodTimestampWithTimeZone Structure
TdPeriodTimestampWithTimeZone Members