If you’d like to change the timezone for your servers, you can do this by running a command on your server.
If you haven’t connected to your servers over SSH before, please see the following articles to get started:
Generate your SSH Key:
Generate SSH Key on Windows with Putty
Generate SSH Key on Windows with Windows Subsystem for Linux
Generate SSH Key on Windows with Windows CMD/PowerShell
Add your SSH Key to GridPane:
Add/Remove an SSH Key to/from an Active GridPane Server
Connect to your server:
Default Server Time
By default your servers will be on UTC time. You can confirm this by typing the following command and pressing enter:
date
The output will look like this but with the correct date and time:
Sat Jul 25 17:18:12 UTC 2020
Update your Timezone
First run the following to list available timezones:
timedatectl list-timezones
Use your down-arrow key to navigate down until you find your timezone, and hit Control+C to exit once you’ve got it.
You can now reset your timezone with this command:
sudo timedatectl set-timezone
Examples:
sudo timedatectl set-timezone Europe/Paris
sudo timedatectl set-timezone Asia/Singapore
sudo timedatectl set-timezone America/New_York