Pinging a website's IP address with a time and date stamp is relatively simple. All that is required is access to a command prompt, knowing the proper formatting for the command and the website IP address you want to ping. The result will be consistent with your current time and date on your computer, but the actual round-trip time of the ping will vary depending on how far away physically the website's server is from your location.
- Skill level:
- Moderately Easy
Other People Are Reading
Things you need
- IP address
- Ping code
To ping an IP address, you must have a computer that is connected to a network. This does not necessarily have to be the Internet. Any local network connected by wireless or cable would also work, but to ping on a local network would require multiple IP addresses for different nodes on the network. The easiest method is to ping a remote server over the Internet instead.
Pull up a command prompt. In Windows you can usually do this simply by typing "command" into the Start Search bar that appears when you click on the Start button. If a command prompt window does not appear when doing this, the command prompt is accessible by typing "cmd" at the same location or searching in the Windows directory for the cmd.exe file to double-click on. In Windows XP and earlier versions, the command prompt is located in the Accessories folder. The command prompt simulates the DOS operating system that existed prior to Windows.
Locate an IP address to ping. In the command prompt window, type the name of a popular website preceded by "ping," such as "ping cnn.com" Typing in everything contained within the quote marks here and hitting "Enter" will return an IP address with four distinct numbers separated by periods, which is the actual physical IP address of the website.
Now use this information to ping this website and add a time and date stamp to the output. This can be done with any IP address by substituting it for the one currently being pinged. The code should be typed in the following format, with no spaces between entries except after the word "ping" and after the "1" prior to the IP address itself. Type everything displayed and hit "Enter."
The code is as follows for the IP address of 22.214.171.124:
date/t&&time/t&&ping -n 1 126.96.36.199
Tips and warnings
- Note that there are several options for formatting a ping, and you can find these by simply typing "ping" at the command prompt and hitting "Enter." The "-n 1" option used in the example here is designed to restrict the ping count to one, and can be eliminated, with the rest of the command still functioning properly.
- Some ping options may not work depending on the network server being pinged and the computer system being used to do the pinging. Pinging is just a simple method of connecting to another networked computer with one packet of data, and has no inherent risk involved to either computer system.
- 20 of the funniest online reviews ever
- 14 Biggest lies people tell in online dating sites
- Hilarious things Google thinks you're trying to search for