HOME > Components > Raspberry Pi: Set Up Clock Without Internet

Raspberry Pi: Set up clock without internet

A Raspberry Pi is a helpful gadget that you can use for various applications. It is not mandatory that your Raspberry Pi is connected to the Internet. However, if you want to see the current time on the mini-computer, you need to manually take care of the setting.

How to set the time

Setting the time on your Raspberry Pi when there is no internet connection is only possible manually.
  1. Start your Raspberry Pi and wait until the mini-computer has fully booted up.
  2. Then you need to open the command line and issue the command "sudo date". After the command, put the date and time.
  3. Be aware that the date and time are specified in the format "MMTThhmm-YY". So you have to enter the month first, then the day, the hour and the minute and finally the year.
  4. Once you have confirmed your entry, the date with the time will appear on your Raspberry Pi.
  5. However, you should know that unless you set up an internet connection for your Raspberry Pi, you will have to do this setting every time you want to see the current time and the correct date.

Can you set the date and time permanently?

Although the setting does not require much effort, it is annoying. However, so far there is no way to get around this circumstance. This is because your Raspberry Pi doesn't have a buffered clock, making it necessary to update it over and over again.

By Craven

WLAN: IP address cannot be retrieved :: Clash Royale: The Best Tips for the X-Bow
USEFUL LINKS