Skip to main content

setTimeZone

How to Set TimeZone​

  • To Get Access via SSH
Syntax:- ssh -p PORT USERNAME@HOSTIP
Example:- ssh -p 21350 u27653@216.32.44.12
  • Check Current System Time Zone
timedatectl
  • Check All TimeZone
timedatectl list-timezones
  • Filter TimeZone by City
Syntax:- timedatectl list-timezones | grep City_Name
Example:- timedatectl list-timezones | grep Kolkata
  • Set TimeZone
Syntax:- timedatectl set-timezone [timezone]
Example:- timedatectl set-timezone Asia/Kolkata