Time and Date
Another set of useful tools are those that help you keep track of the time and date. There are two primary utilities that you will use for this purpose: date and cal.
The "date" utility simply displays the current time and date (according to the computer...recall that since you can login to a UNIX machine remotely, the date utility may not give you your local time if you are not in the same time zone as the computer you are logged in to). The "date" utility comes with several options that allow you to format the date displayed.
Check out the date utility in action
The second time telling utility is the "Cal" utility that displays a calendar through standard output. The "cal" utility is fairly simple and takes only a month and a year as arguments. If no arguments are specified, it assumes the current month and year. If no month is specified, the utility will display all the months for the given year
Check out the following examples.