>>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