Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting DateTime
Message
De
18/04/1999 00:25:33
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00209450
Message ID:
00209465
Vues:
21
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform