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:
value. If not connected to a System TC then
eRetCmdNotAllowed
is
returned.
Syntax:
object
.
GetTime
(Time)
Obj./Arg.
Type
Dir
Description
object
Api
The Api object to operate on.
Time
Long
Out
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:
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)
Obj./Arg.
Type
Dir
Description
object
Api
The Api object to operate on.
Time
Long
In
The time to set as number of seconds since 1970-01-01
00:00:00.
Summary of Contents for PowerMACS 4000
Page 2: ......
Page 46: ...System Architecture 46 9836 3521 01...
Page 267: ...Tightening 9836 3521 01 267...
Page 400: ...Tightening 400 9836 3521 01...
Page 486: ...Peripheral Devices 486 9836 3521 01...
Page 622: ...Peripheral Devices 622 9836 3521 01...
Page 664: ...References 664 9836 3521 01...
Page 668: ...9836 3521 01 2010 11 Edition 10 3 0 www atlascopco com...