docs

Home All functions Categories

vuServerDate(ServerName)

vuServerDate(*CSTRING), LONG

Description

Returns the system date from the specified server in standard Clarion date format. If no server name is provided, the local PC date 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 date in standard Clarion date format.
If no server is specified, the local PC date is returned.

Example

LOC:Server = '\\MyServer'
ServerDate = vuServerDate(LOC:Server)
MESSAGE('The server date is ' & ServerDate)

Notes

Home All functions Categories