Skip to main content

ParseTime(String) Method

Returns an AFTime object for a given time evaluated with respect to the current time.

Definition​

Namespace: GHost.GSharp.PI.ACE
Assembly: GHost.GSharp.PI.ACE (in GHost.GSharp.PI.ACE.dll) Version: 1.2.44.3 (1.2.44.3)

C#

public static AFTime ParseTime(string time)

VB

Public Shared Function ParseTime (time As String) As AFTime

Parameters​

  String
A timestamp string (in time/date, absolute or relative PI time formats).

Return Value​

AFTime object corresponding to the specified time.

Remarks​

Change to interface - returns AFTime struct instead of PISDK.PITime object.

See Also​

Reference​

PIACEBIFunctions Class
ParseTime Overload
GHost.GSharp.PI.ACE Namespace