As you may have seen we have a Linux server in Azure running some weird stuff, anyhow the time was off screwing with reports and what not, so had to fix it. Here’s what I did:
First, SSH onto the server and logon.
Check the time:
1 |
timedatectl |
Find the timezone you would like:
1 |
ls /usr/share/zoneinfo/ |
Now change it:
1 |
sudo timedatectl set-timezone Asia/Dubai |
Check it again:
1 |
timedatectl |
Example:
Leave a Reply