Date
System time management, printing or setting the system date and time.
--help: Displays help information.
--version: Displays version information.
-D: Displays the date and time that the string refers to, and the string must be preceded by a double quotation mark.
-S: Sets the date and time based on the string, and the string must be preceded by double quotation marks.
%Y: Year.
%y: Year, after two digits.
%m: Month.
%d: day.
%H: Hours, 0-23.
%M: Min, 00-59.
%s: seconds, 00-60.
The%%:% string.
%n: New line.
%d: date, equivalent to%m/%d/%y.
%F: Date, equivalent to%y-%m-%d.
%R: Hours and minutes, equivalent to%h:%m.
Clock
Hardware time management.
Hwclock:hardware Clock
Query, set hardware time.
-S: Synchronizes hardware clock to system time.
--hctosys: Synchronizes the hardware clock to the system clock.
-W: Synchronizes the system clock to the hardware clock.
--SYSTOHC: Synchronizes the system clock to the hardware clock.
Cal:calendar
Displays the calendar.
-1: Displays the current month calendar.
-3: Displays the current month and the calendar for each January before and after the current month.
-y: Displays the current year's calendar.
The year to display.
Linux Date Time command