Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Change Local Time Zone?
I acted before thinking this through. I was working in my WordPress (LEMP) site and noticed the time was off. Instead of making the Local Timezone fix in Settings > General as one normally does, I tried changing it through SSH.
This is my current configuration for
Local time: Thu 2020-02-27 16:34:51 EST Universal time: Thu 2020-02-27 21:34:51 UTC RTC time: Thu 2020-02-27 21:34:52 Time zone: UTC (EST, -0500) System clock synchronized: yes systemd-timesyncd.service active: no RTC in local TZ: no
My WordPress General Settings now shows:
Universal time is
2020-02-27 16:28:00. Local time is
So, I’m guessing the
(EST, -0500) for
Time zone: UTC (EST, -0500) is coming from
When I check
$ date it shows me the local EST time instead of the UTC that I’m looking for.
Despite how easy it was to mess this up, I can’t seem to undo the change.
Any advice would be greatly appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×