Time zone: America/Monterrey (CST, -0600)Ĭhanging the Timezone by Creating a Symlink # Verify the change by checking the current system’s timezone with the timedatectl command: timedatectl Local time: Fri 13:30:30 CST : sudo timedatectl set-timezone your_time_zoneįor example, to change the system’s timezone to America/Monterrey, you would run: sudo timedatectl set-timezone America/Monterrey Once you identify which time zone is accurate to your location, run the following command as root or user with sudo privileges To list all available time zones, you can either list the files in the /usr/share/zoneinfo directory or invoke the timedatectl command with the list-timezones option: timedatectl list-timezones. The timezones are using “Region/City” format. You can also find the timezone by checking the path the symlink points to, using the lsĬommand: ls -l /etc/localtime lrwxrwxrwx 1 root root 23 Nov 21 23:44 /etc/localtime -> /usr/share/zoneinfo/UTCīefore changing the timezone, you’ll need to find out the long name for the timezone you want to use. ![]() The system timezone is configured by symlinking /etc/localtime to a binary timezone identifier in the /usr/share/zoneinfo directory. How To Change Your WordPress Timezone? | WPHub
0 Comments
Leave a Reply. |