0

Our current local time is 22:35 11 Jun 2020

I have set the CentOS time zone to Asia/Kuwait

[root@server etc]# ls -l /etc/localtime
lrwxrwxrwx 1 root root 6 Jun 11  2020 /etc/localtime -> Kuwait

But current date command is retuning a wrong datetime:-

[root@server Asia]# date
Thu Jun 11 19:38:11 UTC 2020
Q8root
  • 103

1 Answers1

0

Looks like a broken symlink, as tzdata should be at /usr/share/zoneinfo/Asia/Kuwait.

Follow the EL6 and earlier procedure to edit time zone. Edit /etc/sysconfig/clock to Asia/Kuwait and run tzdata-update

John Mahowald
  • 36,071