Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Synch of Date Time in a Network From Server
Message
From
12/01/2006 10:48:59
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Oracle
Miscellaneous
Thread ID:
01086071
Message ID:
01086091
Views:
32
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:' && or whatever you call the server
>>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')
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform