I think most of the new operating system templates use UTC timezone, but not everyone lives or uses UTC timezone.
Check the timezone in VPS using this command:
~# date
Fri 03 Mar 2023 03:35:03 PM UTC
Or using this command:
~# timedatectl status
Local time: Fri 2023-03-03 15:36:30 UTC
Universal time: Fri 2023-03-03 15:36:30 UTC
RTC time: Fri 2023-03-03 15:36:31
Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
Since I'm using Ubuntu, and I live in Jakarta, Indonesia. I can change the timezone with this command:
timedatectl set-timezone Asia/Jakarta
And I believe other Linux operating systems are using the same timedatectl
command too. (CentOS, Fedora, Debian)
Kindly check the list in alphabetical order of the Time Zone here:
Thanks for reading!