Peripheral Devices
574 9836 3521 01
8.14.4.55 GetTime
Description: This method returns the current date and time of the target system as a long integer.
(Compatible with VisualStudio .NET)
Return type: A RetCodeEnum value. If not connected to a System TC then eRetCmdNotAllowed is
returned.
Syntax: object.GetTime(Time)
The Api object to operate on.
Will return the date and time as number of seconds since
1970-01-01 00:00:00.
8.14.4.56 SetTime
Description: This method sets the current date and time of the target system. (Compatible with
VisualStudio .NET)
Return type: A RetCodeEnum value. If the method is not supported by the connected target
eRetNotSupported is returned. If not connected to a System TC, or if the API device is not
configured as Time Server, then eRetCmdNotAllowed is returned.
Syntax: object.SetTime(Time)
The Api object to operate on.
The time to set as number of seconds since 1970-01-01
00:00:00.