1 .TH HWCLOCK 8 ubase-VERSION 2 .SH NAME 3 \fBhwclock\fR - Query or set the hardware clock 4 .SH SYNOPSIS 5 \fBhwclock\fR [\fB-rsw\fR] [\fB-u\fR] [\fIdev\fR] 6 .SH DESCRIPTION 7 \fBhwclock\fR is a tool for accessing the hardware clock. You can display 8 the current time, set the hardware clock from the System Time, or 9 set the System Time from the hardware clock. It currently only works with UTC. 10 You can use \fIdev\fR to specify the RTC device node absolute path. By default 11 it will use \fI/dev/rtc\fR. 12 .SH FUNCTIONS 13 .TP 14 \fB-r\fR 15 Read the hardware clock and print the time on stdout. 16 .TP 17 \fB-s\fR 18 Set the system time from the hardware clock. 19 .TP 20 \fB-w\fR 21 Set the hardware clock to the system time. 22 .SH OPTIONS 23 .TP 24 \fB-u\fR 25 Use UTC. This is the default and only option.