Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFTimeZone.BaseUtcOffset Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFTimeZone.BaseUtcOffset Property
Gets the time difference between the current time zone's standard time and Coordinated Universal Time (UTC).

Namespace:  OSIsoft.AF.Time
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public TimeSpan BaseUtcOffset { get; }
Public ReadOnly Property BaseUtcOffset As TimeSpan
	Get

Dim instance As AFTimeZone
Dim value As TimeSpan

value = instance.BaseUtcOffset
public:
property TimeSpan BaseUtcOffset {
	TimeSpan get ();
}
member BaseUtcOffset : TimeSpan with get

Property Value

Type: TimeSpan
Returns a TimeSpan that indicates the time difference between the current time zone's standard time and Coordinated Universal Time (UTC).

Remarks

The time span returned by the BaseUtcOffset property can range from 14 hours (for a time zone that is 14 hours ahead of Coordinated Universal Time (UTC)) to -14 hours (for a time zone that is 14 hours behind UTC). Time zones that are ahead of UTC have a positive offset; time zones that are behind UTC have a negative offset.

The BaseUtcOffset value is represented as a whole number of minutes. It cannot include a fractional number of minutes.

Note Note
See TimeZoneInfo.BaseUtcOffset for more information.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5, 2.10.0, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6

See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in