System Administration Guide: Advanced Administration

How to Display the Date and Time

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


$ date

Example—Displaying the Date and Time

The following example shows sample output from the date command.


$ date
Thu May 31 17:44:58 MDT 2001
$