retrieve server time from remote terminal

hello..i am creating one system called login system using Visual Basic 5 install into the NT server. when i run the system from remote terminal the time is from the terminal is not from the server time so my question is how to retrieve the server time from the server by using the VB code
thank you very much....
Who is Participating?
TimCotteeConnect With a Mentor Commented:

This is a VB project which extracts the time/date from a remote NT server.
You can desing a  very simple DCOM component with only one class and one Property Procedure, inside that Property you can return the server Date and Time.

If you have already a DCOM component just add that Property, if you dont is very simple to build a small server component

Julian Garrido
All Courses

From novice to tech pro — start learning today.