Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Obtain hour of server
Message
De
06/07/2002 16:35:48
 
 
À
06/07/2002 11:03:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00675850
Message ID:
00675896
Vues:
11
>I want to obtain the hour of my servant " NT " to be able to include this hour in my reports. I don't want to synchronize the hour of the computer with the servant, only to obtain the hour of the servant like reference and this at the same time to be able to print it.

I don´t know whether exists some API function to do that, but you can do a workaround... like this:
StrToFile("","h:\temp\whathour.txt")
*-- where "h" is a drive on your server, for example...
and then you can use the ADIR() function, to get the datetime for the newly created file...
Claudio Lassala
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform