
You can use the following commands to figure out the time or date information from your Linux or Unix operating system.
date Command
## COMMAND ##
date
## OUTPUT ##
Wed Aug 19 14:50:02 +08 2020
timedatectl Command
## COMMAND ##
timedatectl
## OUTPUT ##
Local time: Wed 2020-08-19 14:52:09 +08
Universal time: Wed 2020-08-19 06:52:09 UTC
RTC time: Wed 2020-08-19 06:52:09
Time zone: Asia/Kuala_Lumpur (+08, +0800)
Network time on: no
NTP synchronized: yes
RTC in local TZ: no