Setting The Time Manually - Korenix JetBox 8100 User Manual

Embedded linux
Hide thumbs Also See for JetBox 8100:
Table of Contents

Advertisement

3.3 Adjusting the System Time

3.3.1 Setting the Time Manually

The JetBox8100 has two time settings. One is the system time, and
the other is the RTC (Real Time Clock) time kept by the JetBox 8100's
hardware.
Use the #date command to query the current system time or set a new
system time.
#date MMDDhhmmYYYY
MM = Month
DD = Date
hhmm = hour and minute
YYYY = Year
Use the following command to set the RTC time:
Use #hwclock to query the current RTC time or set a new
RTC time. Use the following command to query the system time:
#hwclock –w
Write current system time to RTC.
The following figure illustrates how to update thesystem time and set
the RTC time.
Figure 3-6 Setting the Time Manually
JetBox 8100 User Manaual_Linux_1.1
19

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Jetbox 8100-lJetbox 8100-lm

Table of Contents