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:49:17
 
 
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:
01159980
Views:
20
>>>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

So you mean that your users have only read right, no create right? Well, in all the systems I have seen, each user has his/her own directory on the server with full right, and limited access to the other directories.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform