Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can we get datetime from another computer
Message
De
06/10/2006 07:49:17
 
 
À
06/10/2006 07:36:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01159197
Message ID:
01159980
Vues:
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

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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform