>Hi Folks
>
>Does anyone have a simple piece of FoxPro code to ask a time server for the current date?
Current versions of Windows do that automatically and in effect cache it locally. So from within VFP you can just use DATE() or DATETIME(). Windows even converts the time it receives from time server(s) to your selected time zone.
Is there a particular reason you want to directly query a time server?
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