Hello,
Is there any API function to get the time and date of a remote Windows server?

I am now using an external daytime server but I prefer using Windows API.

Many thanks.