How to Set the Timezone on a Linux Server#
List all the available timezones#
timedatectl list-timezones
Set the timezone#
sudo timedatectl set-timezone 'Africa/Johannesburg'
From here you can search these documents. Enter your search terms below.
Keys | Action |
---|---|
? | Open this help |
n | Next page |
p | Previous page |
s | Search |