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:36:35
 
 
À
06/10/2006 05:48:05
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:
01159979
Vues:
22
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform