The format for the date
command is:
date [ -u ] [ yymmddhhmm [ .ss] ]
The command date
without any options displays the current date and time. As super user using sudo
you can change the time using the --set
flag.
Example usage:
date --help
date
sudo date --set "4 AUGUST 2016 1:40 PM"