Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting DateTime
Message
From
18/04/1999 00:25:33
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00209450
Message ID:
00209465
Views:
22
Eric,

One way I can think of, which should work for another machine on a LAN, (only if you can save and delete files to it) is to try the following. (I know it works if you save the file to the LAN, and want the time off the server, never tried it to another machine on the LAN)

Use the STRTOFILE() function to save a file onto the machine. Use the ADIR() function to get the date and time from the file just created. Then delete the file just created when you are done. When the file is created it should pick the time up off the machine in question.

This is a sneaky way to do this and may not be the best method but if you are really determined to get the time and date it should work.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform