Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find current date from web
Message
De
04/03/2010 20:00:28
Al Doman (En ligne)
M3 Enterprises Inc.
North Vancouver, Colombie Britannique, Canada
 
 
À
04/03/2010 18:24:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01452651
Message ID:
01452662
Vues:
63
>How can you find out current date from the web (not using DATE() function)

Usually, you have your computer set to obtain accurate time from a time (NTP) server on the Internet. With Windows OSs this is time.windows.com by default. As long as your local machine can periodically attach to this server to update its time, its reported time will be quite accurate, so you can use VFP DATE() and related functions.

Are you concerned that users may manually change the date/time of a given computer? If so, I believe Group Policy can be used to prevent that from happening i.e. deny users permission to change date/time.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform