datedisplays 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