Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to find current date from web
Message
From
05/03/2010 07:14:34
 
 
To
04/03/2010 20:00:28
General information
Forum:
Visual FoxPro
Category:
Web Services
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01452651
Message ID:
01452744
Views:
52
>>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.

Thank you for the suggestion. It is to protect a process in a customer's PC than must not be fooled by changing machine date.

Alex
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform