>I need to register the team working on the industrial plant who are manufacturing items. The team change happens twice a day; once at 7:00 am anf the other at 7:00 pm.
>
>The teams (A,B) are used to register which team manufactured parts.
>
>If I use the time of the individual workstations on the plant floor and the time of a or each workstation happen to be off, each workstation will be changing shifts at diffenent times, which will result in registering different teams at the same time.
>
>Does anyone know of a good and accurate method of retrieving the time from a common source (perhaps the server) so all the date and time stamps are accurate?
net time \\{server name here} /set /yes
This needs to be run as a DOS command - you can use Ed Rauh's API_AppRun class to do it silently. You can run one of the atomic clock utilities periodically on the server, and run this command on workstations when launching the app (or at certain points) and all should be in sync.