>Hi,
>
>is there any declare command to get the server date and time.
>
>Best Regards
I used one method which is often suggested here on the UT, and it works for me:
Create a file on the server.
Get the file's date and time. This will return the date/time of the server, not of the workstation.
Delete the temporary file.
You can use sys(2015) to create a unique file-name (to avoid conflicts with other users).
One way to create the file is with fcreate().
HTH,
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)