|
-
Aug 2nd, 2010, 09:47 PM
#1
Thread Starter
Frenzied Member
Getting the time of server
I was thinking is it possible to take the time of a server.
From Google.com for example.
Or no?
Also do i need permission to access that kind of data?
P.s
I do not have a VS to work with here, so any links will help.
-
Aug 2nd, 2010, 09:51 PM
#2
Re: Getting the time of server
You should look into SNTP, which is the protocol designed for client applications or devices to synchronise themselves with time servers. I'm sure that you could create your own SNTP client very easily using a TcpClient or Socket.
-
Aug 5th, 2010, 10:09 PM
#3
Thread Starter
Frenzied Member
Re: Getting the time of server
This might be a crazy idea but here is goes.
1) Go to Google.com and type "Local Time"
2) Get that url and open the page sources code via VB.net project.
3) Find the String were the local time is being displayed.
4) Read that string and display it as label or Message box?
Any ideas?
Or maybe Google\Bing\Yahoo has some API that can display time?
-
Aug 5th, 2010, 10:26 PM
#4
Re: Getting the time of server
You've given no indication whatsoever that you've even seen my post. If you don't want to use my suggestion for whatever reason that's fine, but don't you think that an acknowledgement at the very least would be courteous?
-
Aug 5th, 2010, 10:51 PM
#5
Thread Starter
Frenzied Member
Re: Getting the time of server
Thank you for the reply jmcilhinney.
I will look into SNTP or maybe a AIP.
I will post anything good that works.
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
|