System Administration Guide, Volume 2

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 Sep 16 14:06:44 MDT 1999
$