Sets the default time zone for PHP scripts to that of the client.
As of April 2026, Use Client's Time Zone is a WordPress time zone plugin with 100 active installations and a 4.4/5 rating from 7 reviews. It has been downloaded 9.9K+ times in total. Requires WordPress 1.5+ and PHP false+. Available on WordPress.org since 2012. Last updated 2 years ago — may have compatibility concerns. Top alternative: MX Time Zone Clocks.
This plugin retrieves the time zone of the client using “Automatic Timezone Detection Using JavaScript” (http://pellepim.bitbucket.org/jstz/) the first time that a client accesses the site, sets a cookie containing the client’s time zone on the client, and reloads the page. This cookie is then read by PHP and the date_default_timezone_set() function (requires PHP 5 >= 5.1.0) is used to set the default time zone for PHP scripts. Since it runs just after all of the plugins are loaded, it changes the time zone for all of the PHP that follows. It is useful in cases where one wants users to see certain posts on certain days. E.g., if the post slug contains the day number, like “xyz-daynr,” then the post can be specified by “$slug = ‘xyz’.date(…
| WordPress | 1.5+ requiredTested up to 6.3.8 |
| PHP | false+ required |
Code added to avoid activating actual use of plugin, other than the settings in the admin screen, during site administration.
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.