Set time in CentOS

From: https://www.cyberciti.biz/faq/howto-set-date-time-from-linux-command-prompt/

$ sudo timedatectl set-time YYYY-MM-DD

For example set the current date to 2015-12-01 (1st, Dec, 2015):
# timedatectl set-time '2015-12-01'
# timedatectl