In centos7, I don't know why the date are showing different timestamp. When I modified according to my need and rebooted the machine, it is getting reset. Tried most of the options as I got in different forums (e.g., hwclock -s, rm -rf /etc/adjtime etc).
[root@mymachine ~]# date
Thu Oct 20 09:23:34 UTC 2016
[root@mymachine ~]# hwclock
Thu 20 Oct 2016 11:24:02 AM UTC -0.302003 seconds
In some forum, people suggested vmware tools, vm can made this change. But when I checked, timesync is in disabled state.
[root@mymachine ~]# /usr/bin/vmware-toolbox-cmd timesync status
Disabled
So really not sure what is causing the date to reset or from when it has been taken?
[root@mymachine ~]# timedatectl status
Local time: Thu 2016-10-20 09:25:47 UTC
Universal time: Thu 2016-10-20 09:25:47 UTC
RTC time: Thu 2016-10-20 11:26:12
Timezone: n/a (UTC, +0000)
NTP enabled: n/a
NTP synchronized: no
RTC in local TZ: no
DST active: n/a
If I manually set the time with timedatectl set-time HH:MM:ss
it will change system clock and hardware clock. upon reboot hardware clock stays true to what I set up last time with timedatectl set-time HH:MM:ss
but system clock reverts back as if I hadn't manually set the time.