System Administration Guide: Advanced Administration

ProcedureHow to Display the Date and Time

  1. To display the current date and time according to your system clock, use the date command.


Example 5–7 Displaying the Date and Time

The following example shows sample output from the date command.


$ date
Wed Jan 21 17:32:59 MST 2004
$