How to check timezone of a EC2 instance ubuntu?

I have an EC2 instance with ubuntu install, I want to check the time zone configured in the system.

use timedatectl command in ubuntu Os to check time zone , you will get following output.

 Local time: Thu 2019-12-19 09:46:58 UTC
  Universal time: Thu 2019-12-19 09:46:58 UTC
        RTC time: Thu 2019-12-19 09:46:58
        Time zone: Etc/UTC (UTC, +0000)  
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no

Log in to reply