ParseTime(String, String) Method
Returns an AFTime object for a given time evaluated with respect to a specified reference 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, string refTime)
VB
Public Shared Function ParseTime (time As String, refTime As String) As AFTime
Parameters
- String
- A timestamp string (in time/date, absolute or relative PI time formats).
- String
- A string specifying a reference time. If the parameter time is in the absolute or relative PI time format,it is evaluated with respect to the reference time.
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