Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DateTime() from server NOT from client
Message
De
18/07/2001 12:41:59
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
 
À
08/07/2001 10:48:30
Joel Hokanson
Services Integration Group
Bellaire, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Divers
Thread ID:
00527885
Message ID:
00532104
Vues:
21
>How do I get the current datetime() off the server and NOT off of the client.
>
>I want to know when new users are created, but datetime() returns the data from the client and NOT the server.

Here's a simple way:
You could RUN a DOS comand from VFP:
NET TIME \\Computername > c:\temp\time.txt
Then parse the results from time.txt

There's probably another way to do this, but with API calls, making the DOS command unnecessary. I'll let you know if I find it.
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform