# Setting the date and time on CentOS

Source: <https://beta.dedicated.com.tr/en/kb/setting-date-and-time-on-centos>  
Last updated: 2026-11-28

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

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

The output of `date` looks like this:

```text
Tue Apr 26 22:56:35 EEST 2011
```
