The NetRemoteTOD function returns the time of day information from a specified server.
No special group membership is required to successfully execute NetRemoteTOD.
NET_API_STATUS NetRemoteTOD(
LPWSTR UncServerName,
LPBYTE *BufferPtr
);
Windows NT: Requires version 3.1 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in lmremutl.h.
Import Library: Use netapi32.lib.
Networking (Net) Overview, Net Functions