docs

Home All functions Categories

vuServerTime(ServerName)

vuServerTime(*CSTRING), LONG

Description

Returns the system time from the specified server in standard Clarion time format. If no server name is provided, the local PC time is returned. The result is automatically adjusted for time zones.

Parameters

Parameter Data Type Description
ServerName CSTRING(128) The name of the server (e.g., \\MyServer). Forward slashes are optional and will be added automatically.

Returns

A LONG value containing the time in standard Clarion time format.
If no server is specified, the local PC time is returned.

Example

LOC:Server = '\\MyServer'
SetClock(vuServerTime(LOC:Server))

Notes

Home All functions Categories