Send feedback on this topic.
Teradata.Client.Provider
UtcOffset Property (TdTimeWithTimeZone)



Teradata.Client.Provider Namespace > TdTimeWithTimeZone Structure : UtcOffset Property
Returns the UTC Offset or allows the UTC offset to be set.
Syntax
'Declaration
 
Public ReadOnly Property UtcOffset As TimeSpan
'Usage
 
Dim instance As TdTimeWithTimeZone
Dim value As TimeSpan
 
value = instance.UtcOffset
public TimeSpan UtcOffset {get;}
public:
property TimeSpan UtcOffset {
   TimeSpan get();
}

Property Value

The UTC ofsset is returned as a TimeSpan. The UTC Offset is returned as a TimeSpan.
Exceptions
ExceptionDescription
This instance is TdTimeWithTimeZone.Null.
Remarks

The UTC offset is handled by TdTimeWithTimeZone as a System.TimeSpan. If a day or millisecond is specified in the constructor of the TimeSpan a TdException will be thrown.

The range of a valid UTC offset is -12:59 to +13:00.

Requirements

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

See Also

Reference

TdTimeWithTimeZone Structure
TdTimeWithTimeZone Members