User Tools

Site Tools

한국어

comfilepi:set_date_and_time

Set the Date and Time

Run the following commands in a terminal to set the ComfilePi's date and time and save it to the ComfilePi's RTC.

# Disable synchronization with the time server
sudo timedatectl set-ntp false
 
# Set the date and time (January 1st 2020 5:30am)
sudo timedatectl set-time '2020-1-1 5:30:00'
 
# Write the date and time to the RTC chip
sudo hwclock -w

ComfilePi - Industrial Raspberry Pi Panel PC

comfilepi/set_date_and_time.txt · Last modified: 2022/07/08 06:39 by COMFILE Technology