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'

Source