EmailProblems and errorsSpanish version

Support article

How to change your hosting timezone

Learn how to show local time on your website even when the server uses UTC, by adjusting WordPress, PHP or your app instead of the global clock.

Published: 26/06/2026Updated: 26/06/2026

Introduction

On shared servers it is common to work with UTC as the standard time reference. That does not mean your website must show that same time to the final user.

The key point is that the global server clock is usually not changed per customer. The correct place to adjust timezone is inside your website or application.

Where the change should be made

1. In WordPress

Go to Settings > General and choose the correct city or timezone.

2. In your PHP application

You can define the timezone in code with date functions or in the application’s own configuration.

3. In a panel or CMS

Many systems have their own date and time option inside the general settings.

What you should not do

  • do not assume the shared server will switch to your local time
  • do not blindly edit global system files
  • do not mix several timezones inside the same application without control

Useful tips

  1. Use a named timezone

    It is better to use Europe/Madrid or the right city-based timezone instead of a fixed offset when your app supports it.

  2. Review scheduled tasks

    If you use CRON, remember that the system time and the app display time may not match.

  3. Check forms, logs and emails

    Changing visible time on the website does not always change the server’s internal timestamps.

Frequently asked questions

Can I ask for the shared server time to be changed

Usually no. Shared hosting keeps a common system reference for all users.

Can my website still show local time

Yes. You should configure it inside WordPress, PHP or the application you use.

Does this affect email

It can affect how some dates look in apps or logs, but it does not always mean there is a real delivery issue.

Conclusion

The correct way to handle timezone in shared hosting is usually not to change the server clock, but to adjust the application that displays the date.

If your website or CMS is configured correctly, you can show local time without depending on the system-wide clock.