How to Ping With a Time & Date Stamp

Written by ray hawk
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to Ping With a Time & Date Stamp
Pinging remote computers on a network is simple. (Hemera Technologies/ Images)

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

Things you need

  • IP address
  • Ping code

Show MoreHide


  1. 1

    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.

  2. 2

    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.

  3. 3

    Locate an IP address to ping. In the command prompt window, type the name of a popular website preceded by "ping," such as "ping" 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.

  4. 4

    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

    date/t&&time/t&&ping -n 1

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.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.