<tt>date</tt>: Display Date



next up previous contents
Next: clear: Clear the Up: Other Miscellaneous Commands Previous: Other Miscellaneous Commands

date: Display Date

date
displays the date and time on the standard output.

Example:

prompt> date
Mon Dec 11 16:36:39 EST 1989

date can also be used to display specific fields of the date. The next example shows how to display the current hour and minute:

prompt> date "+%H %M"
16 36



Super-User
Fri Feb 17 15:55:40 EST 1995