Take a look at How do I synchronize the time between NT machines (WS and SVR) FAQ #7903
> >I want to retrieve system date from server in windows 2000 server and directly synchronize the client date after their login into my application in Visual foxpro. >