"date" Command

Learn all about date command

HOME

date -- display or set date and time

When invoked without arguments, the date utility displays the current date and time. Otherwise, depending on the options specified, date will set the date and time or print it in a user-defined way. The date utility displays the date and time read from the kernel clock. When it is used to set the date and time, both the kernel clock and the hardware clock are updated.

root:~# man date
          
Running date command with no options will output the system date and time,as in the following option:
root:~# date
Fri Nov  3 23:36:27 IST 2017