MilesWeb Hosting Forum

Web Hosting Technical Support => How To's => Topic started by: Dipak Bhoi on July 21, 2014, 10:58:54 AM

Title: How to change the system clock to UTC in linux server ?
Post by: Dipak Bhoi on July 21, 2014, 10:58:54 AM
Hello guys,

This post will help you to change timezone to UTC on your server.

You need to login to your server and follow the following steps to set UTC as a system clock.

#vi /etc/sysconfig/clock

And change the UTC line to: "UTC=true"

Set localtimezone to UTC:

Quote#ln -sf /usr/share/zoneinfo/UTC /etc/localtime

Now run date command and it will show you UTC time.

Quote#date
Mon Jul 21 01:27:15 UTC 2014


Enjoy !!