Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to Synchronize time !
Message
De
02/02/2001 18:08:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00471995
Message ID:
00472049
Vues:
40
>We have a small employee in-house checkin program for everyone to clock-in and out. However, the date and time stamp the program gets is from the workstation. Sometime the time can be off by a several minutes on different systems. Also if the employee changes the time on their workstation and then clock-in or clock-out it takes that time stamp.
>
>It there a way to accept a date and time stamp from the where the data is residing (server system) rather that the workstation clock ?
>
>Thanks in advance.

One trick you can do is to use a low-level file function like FCREATE() to create a file on the server, then immediately get the date and time of this new file (via ADIR() etc.).
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform