version 1.5
OP Get server time (connectionID; serverTime) Longint
| Parameter | Type | Description | |
| connectionID | Longint | Connection ID with target server | |
| serverTime | Longint | Current system time on server | |
| Function result | Longint | Error code result for the function |
Description
OP Get server time returns in serverTime the system's time on the server indicated by connectionID.
Error Codes
If OP Get server time executes successfully, it returns 0. Otherwise, this function returns one of the following errors:
| Error Code | Description |
| 10128 | The 4D Open for 4th Dimension package has not been initialized. |
| 10136 | The connection does not exist. |
| 10154 | This command cannot be executed right now. |
Example
See example for OP Get server date.
See Also
Current time, OP Get server date.