How to sync time with bios in rhel7?

Hi All,

I deployed the rhel7 server in the bare metal hardware. I want to configure the rhel7 server to sync time with bios. I tired the below commands. Still it did not sync the time with bios.

Thanks,
Kalai

I'm not seeing the problem you are trying to demonstrate. Is there some reason why you believe the timestamp on a file that you changed on September 14th should have a timestamp that is somehow related to the current hardware or software clock?

What is the output from the single command line:

date;hwclock;date

If the output from these three commands are not in non-decreasing timestamp order, then you might have a problem.

Hi Don,

Thanks for the reply.

Here the problem is the time is not getting synced with the BIOS. Always the server time is lower than the bios time.

Generated in another server.

Thanks,
Kalai

And what would the result be on the server in question?