Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to Synchronize time !
Message
From
02/02/2001 18:08:53
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00471995
Message ID:
00472049
Views:
35
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform