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



Teradata.Client.Provider Namespace > TdTimestampWithTimeZone 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 TdTimestampWithTimeZone
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.
Exceptions
ExceptionDescription
This instance is TdTimestampWithTimeZone.Null.
Remarks

The UTC offset is handled by TdTimestampWithTimeZone 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 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

See Also

Reference

TdTimestampWithTimeZone Structure
TdTimestampWithTimeZone Members