How can one get the current date and time from Unix/NT server, from my VB5 application, running in Win95/Win98/Win2k?
Any idea? Any experience before?
Thanks
Printable View
How can one get the current date and time from Unix/NT server, from my VB5 application, running in Win95/Win98/Win2k?
Any idea? Any experience before?
Thanks
if you know some ASP, you can make an ASP page that would just show the time on the server, than from your program, you can use the internet transfer control to retrieve the page and parse it to get the time, it is pretty easy to make.
text1.text = inet1.openURL ("www.xxx.com")
this will put the content inside a textbox.
what you can do is to put it in a string varaiable, and since the only thing that the varaible will contain is the time, it will be very easy to convert it to time.
if you are not sure, please say so.