To check which time synchronization service you have configured...
if systemctl is-active --quiet chronyd
then
echo "chronyd"
chronyc sources -v
elif systemctl is-active --quiet systemd-timesyncd
then
echo "systemd-timesyncd"
timedatectl show-timesync --all
elif systemctl is-active --quiet ntpd
then
echo "ntpd"
ntpq -p
else
echo "No time sync service detected."
fi
date
cat /etc/sysconfig/clock
Valid timezone settings...
ls -l /usr/share/zoneinfo
Change...
timedatectl set-timezone Europe/London
Valid timezone settings...
ls -l /usr/share/lib/zoneinfo
Change...
svccfg -s timezone:default setprop timezone/localtime= astring: <timezone>
svcadm refresh timezone:default
cat /etc/default/tz
Valid timezone settings...
ls -l /usr/lib/tztab
Change...
set_parms timezone
timedatectl status
Set Timezone...
timedatectl set-timezone Europe/London
TODO
An oft forgotten command available by default in most variants of UNIX and Linux...
ncal -3 -w -b
cal