Click or drag to resize
OSIsoft, LLC

AFTimeLocalTime Property

Gets a DateTime object converted to local time.

Namespace:  OSIsoft.AF.Time
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 2.10.6.195
Syntax
public DateTime LocalTime { get; }

Property Value

Type: DateTime
The value is returned as a local DateTime.
Remarks
This conversion uses the current time zone, defined in regional settings, which may include multiple daylight saving time adjustment rules. This allows accurate representation of times outside the daylight saving time adjustment rule for the current year.
Version Information

AFSDK

Supported in: 2.10.5, 2.10, 2.9.5, 2.9, 2.8.5, 2.8, 2.7.5, 2.7, 2.6, 2.5, 2.4
See Also
Enabling Operational Intelligence