Here's another solution. Write a COM object with just one method: GetTime. This method should call the NetRemoteTOD() Win32 API function. It can also make any adjustments for local time, daylight savings time, etc.
Install your COM on the server and access it using DCOM. This would be probably the most accurate method to retrieve server's time.
Vlad
>How do I get date and time of NT server to register in to log file, from application running from Win 95 node.
>
>TIA
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only