Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compare datetime() of each computer
Message
De
17/06/2021 02:16:47
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
15/06/2021 15:05:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
01681219
Message ID:
01681279
Vues:
49
>in the LAN environment, is there a way to know the server's datetime()?
>
>My client has an issue, the operator changes the clock so he can enter old invoices.
>My client want to each time the cashiers login, the program will compare the datetime() with the server's datetime()
>
>Thanks for the help
>
>Regards,
>
>Jerry Yang

Instead of using local server, try a web based timeserver. In it's simplest form there might be some Offfset, but this might be no problem on your setting.
An other simpler solution might be to check timestamps on your tables - if something is newer then actual datetime - oops

Anyway the setup is bad, a user - operator - should never own the right to change Date / Time at all. It sounds like he runs as admin - what is known as idiotic for decades. At least I must swap to my admin account to do change something.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform