Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DateTime() from server NOT from client
Message
 
 
To
08/07/2001 10:48:30
Joel Hokanson
Services Integration Group
Bellaire, Texas, United States
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Miscellaneous
Thread ID:
00527885
Message ID:
00527900
Views:
31
>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.

Joel,
You can synchronize your client machine's time with the server's time using FAQ#7903. If you don't have NT, you can use low level file functions to create a file on the server. The datetime of the file will be determined by the server and not the client. You can read that information using ADIR() and then either use that time in the user creation routine or use it to synchronize your two machines.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform