On Windows operating systems this can be very simple to do, however on most Linux flavors this can be quite difficult. For the purpose of this guide we will show you how to change your date/time to IST (Indian Standard Time) which equates to UTC+5:30.
- Login to your server
- Enter the following command to disable NTP/Auto Sync
- Now enter the following command to set your preferred timezone, in this case we are setting it to Indian Standard Time
- Now you will want to set the current time and date in that location
- Now enter the following command to confirm the changes have been made
timedatectl set-ntp 0
timedatectl set-timezone Asia/Kolkata
date -s "28 DEC 2018 14:38"
Now your date/time should be swapped across to your preferred timezone. If you have any issues with this guide or are having trouble setting this up then please let us know.