How to change the system clock to UTC in linux server ?

Started by Dipak Bhoi, July 21, 2014, 10:58:54 AM

Previous topic - Next topic

Dipak Bhoi

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 !!
MilesWeb - 30-Day Money Back
cPanel Web Hosting - cPanel Hosting in India
Grab a Free SSL for your website.  WordPress Optimized Solution.