Setting the date and time on CentOS

You can set the date and time on your CentOS server with these commands:

ln -sf /usr/share/zoneinfo/
ln -sf /usr/share/zoneinfo/Turkey /etc/localtime
date

The output of date looks like this:

Tue Apr 26 22:56:35 EEST 2011
Was this article helpful?