Server Time

I need get Current date and Current time on server . Has anybody a idea how to solve this problem? Thank you sak.

Sak, You can set a time on the local workstation by executing a DOS Command “NET TIME \servername /SET”. I found it very useful to have in the login scripts. Hope that solves your issue. Alex

Caution - The ‘net time \servername’ command returns 3 different results if your network spans time zones, with or without daylight saving, depending on the workstation client OS (Win3.11, Win95/98 or Win NT/2K). Also note if you go check the registry this is also OS dependent and the time zone offset is NOT GMT. I agree that all database transactions should be the server’s view of time and I also would like to know if there is a C/AL call to get the server time.