How Does a Computer Know What Time It Is?

A computer knows what time it is because it has a special helper called a clock that tells it when to do things.

How the Clock Works

Inside the computer, there’s something like a tiny ticking watch that counts seconds, minutes, and hours. This tiny clock keeps track of time even when the computer is asleep or not being used.

When You Tell It the Time

When you turn on your computer or connect it to the internet, it often asks another device, like your phone or the internet, that knows the correct time. This is like asking a friend who always checks their watch before school what time it is. The computer then updates its tiny ticking watch so it stays in sync with real life.

That’s why your computer can know what time it is, even if you don’t tell it every day!

Take the quiz →

Examples

  1. A computer uses a small battery-powered clock that keeps ticking even when it's turned off.
  2. Like a wristwatch, the computer has its own mini-clock inside.
  3. When you connect to the internet, your computer can update its time from online servers.

Ask a question

See also

Discussion

Recent activity