Sorry, I misunderstood your problem. My solution will read the date and time of the server. Personally I use this fundtion to read the date and time from the server, and Shellexecute the DOS Time and Date function on startup of my program to set the date and time of each workstation. So the net result is the same, but I see that this the solution you want.
>Hi Tore,
>
>Looks to me a wrong posting.
>I cant understand this code as solution for my set of problem.
>
>
>>>Hi friends,
>>>
>>>I need to synch date time of all network node machines from server.
>>>
>>>I remember of a system API but cant find it now.
>>>
>>>Any Ideas.
>>>
>>>Aashish
>>
>>lcServer='p:'
>>StrToFile('xxx',(Addbs(lcServer)+'xx.xx'))
>>=ADir(dummy,Addbs(lcServer)+'xx.xx')
>>lDate=dummy(1,3)
>>lTime=dummy(1,4)
>>Erase (Addbs(lcServer)+'xx.xx')