General information
Category:
Coding, syntax & commands
>Does anyone have a simple piece of FoxPro code to ask a time server
>for the current date?
I don't have the code, but we had this issue when communicating with a backend server. We created a table on the server which automatically populated a datetime field with each new entry. We would insert a new record, and then read the TOP 1 record when sorted by its auto-incrementing id number. We would then delete all entries below that value.
Clunky, but it worked generically on all DB engines that supported auto-population of datetime fields
UPDATE: I did not read the word "time" when I first responded. Just "server". Sigh. :-(
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only