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.- Start your Raspberry Pi and wait until the mini-computer has fully booted up.
- Then you need to open the command line and issue the command "sudo date". After the command, put the date and time.
- 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.
- Once you have confirmed your entry, the date with the time will appear on your Raspberry Pi.
- 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.