Hi,
>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
I don't know what the problem might be - works for me on the clients/servers I've tried. Check this link for supported clients and servers:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netmgmt/netmgmt/netremotetod.aspPresumably you are sure that the server time is actually set correctly?
>Server's Local time is empty
I think there's a bug in the code - values for timezones east of Greenwich (i.e. GMT+ ones) are returned as negative integers and the code isn't tranlating thsse correctly.
HTH,
Viv