linux date --set-timezone code example
Example: linux set date timezone
# To view timezone
timedatectl
# list all available timezones
timedatectl list-timezones
# update timezone
sudo timedatectl set-timezone your_time_zone
# To view timezone
timedatectl
# list all available timezones
timedatectl list-timezones
# update timezone
sudo timedatectl set-timezone your_time_zone