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

AF SDK Reference

AFTime.UtcSeconds Property

  • Last UpdatedNov 18, 2025
  • 1 minute read
AFTime.UtcSeconds Property
Return the time as the number of seconds since January 1, 1970, UTC.

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

Syntax

public double UtcSeconds { get; }
Public ReadOnly Property UtcSeconds As Double
	Get

Dim instance As AFTime
Dim value As Double

value = instance.UtcSeconds
public:
property double UtcSeconds {
	double get ();
}
member UtcSeconds : float with get

Property Value

Type: Double
The value is returned is the number of seconds since January 1, 1970 in Coordinate Universal Time. If the actual time is less than this time, zero (0) is returned.

Version Information

AFSDK


See Also

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