Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can we get datetime from another computer
Message
From
06/10/2006 07:36:35
 
 
To
06/10/2006 05:48:05
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
01159197
Message ID:
01159979
Views:
21
>>dear friend
>>
>>as per your suggestion i have see on site about
>>but wheh i have run this function
>>Physically Date time is :10/07/2006 05:47:18 AM
>>Resuilt is:
>>UTC time of server is:10:07/2006 12:15:55 AM
>>Server's Local time is empty
>>
>>what is wrong in that so please suggest me
>>
>>thanks regards
>>Arjun
>
>Use Hilmar's method, it's much easier to use.
>STRTOFILE('aaa','\\yourserver\xyz.xyz')
>ADIR(temp,'\\yourserver\xyz.xyz')
>lcServertime=temp(1,4)
>erase \\yourserver\xyz.xyz
Isn't that making an awful lot of assumptions about rights on the server.
I wouldn't allow that to work on my machines.
Regards,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform