Wrapper class in download dosent work.
Shell Scripting Runs well.
Thanks
>May be this is a thread you're looking for?
Re: How to synchronize workstations datetime and server? Thread #
1047584 Message #
1047609>
>>Hi Tore,
>>
>>In fact i once have found a code on UT which takes server name as parameter and synch the node Date Time with it.It was a call to API with DataTime Class Parameter, I lost that code and the search begins.
>>
>>Thanks
>>
>>>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')