|
-
Sep 7th, 2000, 10:28 PM
#1
Thread Starter
Hyperactive Member
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
-
Sep 7th, 2000, 11:58 PM
#2
Hyperactive Member
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.
In the beginning the universe was created. This has made a lot of people very angry and is generally regarded as a bad idea.
- Douglas Adams
The Hitchhiker's Guide to the Galaxy
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|