System Administration Guide

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 Mar  6 09:06:52 MST 1997
$