>how to synchronized system date and time with p2p networking for 2 pc with XP
>one pc set as main with application installed
>the other just map drive and connect to the main pc
>i want the 2nd pc synchronized the system date and time with the main pc
>how ?
One simple way is:
-Create a file on other PC
-Get file time
-Erase the file
ie:
lcTemp = forcepath(sys(2015)+'.tmp', 'x:\datafolder')
Strtofile('x',m.lcTemp)
Adir(arrFile,m.lcTemp)
Erase (m.lcTemp)
ltNow = Ctot(Transform(Dtoc(arrFile[3],1),'@R ^9999/99/99')+' '+arrFile[4])
Cetin