{"id":1631,"date":"2022-01-30T07:37:34","date_gmt":"2022-01-30T15:37:34","guid":{"rendered":"https:\/\/wpfellows.com\/?p=1631"},"modified":"2022-01-30T07:37:45","modified_gmt":"2022-01-30T15:37:45","slug":"set-wordpress-timezone","status":"publish","type":"post","link":"https:\/\/wpfellows.com\/set-wordpress-timezone\/","title":{"rendered":"How to set and change the WordPress timezone"},"content":{"rendered":"

Right after you have installed WordPress, it’s time to configure your new website. Besides setting the language, setting the timezone is important to work with the correct date and time from the beginning.<\/p>

This is how you set the WordPress time zone:<\/p>

  1. Log into your website’s admin dashboard and click on “Settings”.<\/strong><\/li>
  2. Select “General” in the settings menu.<\/strong><\/li>
  3. Set your current time zone in the “Time zone” section and, if possible, use one of the default cities. <\/strong><\/li>
  4. Save the settings.<\/strong><\/li><\/ol>
    \"Setting
    You can set the time zone directly from the WordPress dashboard<\/figcaption><\/figure>

    Why you should choose a city as time zone and not UTC<\/h2>

    WordPress offers you several options to choose your time zone. For example, you can also set the zone via UTC. UTC is the abbreviation for Universal Time Coordinated, a “coordinated world time”, which is the reference time for the whole world.<\/p>

    For UTC, however, you would need to find out how many hours you are from core time. For example, Germany would be UTC +1 during winter time and UTC +2 during summer time.<\/p>

    You realize that yourself, don’t you? That would mean that every time the clock is set to winter or summertime, you would have to change the time zone of your website.<\/p>

    But if you choose a city like Berlin, the CMS automatically sets itself to the respective time.<\/p>

    Set the date and time format correctly<\/h2>

    While you’re at it, you can also set the date format and time format directly on the same page. These settings do not affect the actual functionality of your website. They are only used when a date or time is displayed to your visitors on the website.<\/p>

    \"Setting<\/figure>

    For the date format, you have the following options using January 29, 2022 as an example:<\/p>

    January 30, 2022
    \u00a02022-01-30
    \u00a001\/30\/2022
    \u00a030\/01\/2022<\/p>

    Additionally, you could also choose a completely custom display if you want to. But my recommendation is the first option in the list above.<\/p>

    The same applies to the time format. In this case, WordPress offers you the following display options:<\/p>