Title: Need Timezone setting
Last modified: May 2, 2020

---

# Need Timezone setting

 *  [wantedjaat](https://wordpress.org/support/users/wantedjaat/)
 * (@wantedjaat)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/need-timezone-setting/)
 * Hello there,
 * I wanna request a feature / setting in which we can update our timezone or could
   match the time zone of WordPress. Because this plugin’s time zone and wordpress
   time zones are always different.
 * Thank you

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [rainerb](https://wordpress.org/support/users/rainerb/)
 * (@rainerb)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/need-timezone-setting/#post-12792154)
 * Yes, I have the problem right now. Unfortunately the plugin does not take over
   the wp local time and there is no possibility to set a time.
 * Thanks for help!
 *  [dolceremy](https://wordpress.org/support/users/centoasa/)
 * (@centoasa)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/need-timezone-setting/#post-13288675)
 * For me too!
 *  [futurebreeze](https://wordpress.org/support/users/futurebreeze/)
 * (@futurebreeze)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/need-timezone-setting/#post-13712239)
 * I solved this problem by adding into email-posts-to-subscribers.php file the 
   line:
    `date_default_timezone_set('Europe/Bucharest') # you must change it accordingly
   to your local time` under the first line: `if(preg_match('#' . basename(__FILE__).'#',
   $_SERVER['PHP_SELF'])) { die('You are not allowed to call this page directly.');}`
 *  [rainerb](https://wordpress.org/support/users/rainerb/)
 * (@rainerb)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/need-timezone-setting/#post-13712664)
 * Thanks, but when I added
 * _date\_default\_timezone\_set(‘Europe/Berlin’) #_
 * Error: critical issue, page down.
 * (actual wp version)
 *  [futurebreeze](https://wordpress.org/support/users/futurebreeze/)
 * (@futurebreeze)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/need-timezone-setting/#post-13712760)
 * You’ve probably forgot to put the semicolon at the end of the line. Sorry I’ve
   ommited this. The complete line is:
    `date_default_timezone_set(‘Europe/Berlin’);`
 *  [rainerb](https://wordpress.org/support/users/rainerb/)
 * (@rainerb)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/need-timezone-setting/#post-13713047)
 * ok. now without error. (I con not program only copy :-))
 * But under _Mail configuration –>Your server current Date and Time:_ ….
    still
   the universal time instead of the local time. 🙁
 * I first overwrote the file via ftp and then logged in at wp.
    -  This reply was modified 5 years, 10 months ago by [rainerb](https://wordpress.org/support/users/rainerb/).
 *  [futurebreeze](https://wordpress.org/support/users/futurebreeze/)
 * (@futurebreeze)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/need-timezone-setting/#post-13715567)
 * I put that line as described and under
 * > Options -> Cron details ->
 *  immediately before the text
 * > How to setup auto emails?
 *  there is the “Current Date:” label with the right date and time.
    Anyway, I 
   own the web server so I have all the administrative rights, including setting
   the local time and date on that machine. You should check the local time and 
   date on your webserver, accessing SSH would be a way for this. If you do not 
   know how or you don’t have access this would be a second way: – create an empty.
   php file on your server – put these lines in it:
 *     ```
       <?php
       echo date("d.m.Y h:i:sa");
       ?>
       ```
   
 * – access this file in browser (eg.
 * > [http://yourserver/yourfile.php](http://yourserver/yourfile.php)
 * )
    – this should show the date and time as they are set on your server If the
   date is different then add the directive I posted earlier add your code should
   be like:
 *     ```
       <?php
       date_default_timezone_set('Europe/Berlin');
       echo date("d.m.Y h:i:sa");
       ?>
       ```
   
 * If nothing changes, then your server is configured not to accept PHP directives.
    -  This reply was modified 5 years, 10 months ago by [futurebreeze](https://wordpress.org/support/users/futurebreeze/).
    -  This reply was modified 5 years, 10 months ago by [futurebreeze](https://wordpress.org/support/users/futurebreeze/).
    -  This reply was modified 5 years, 10 months ago by [futurebreeze](https://wordpress.org/support/users/futurebreeze/).
 *  [rainerb](https://wordpress.org/support/users/rainerb/)
 * (@rainerb)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/need-timezone-setting/#post-13726851)
 * Thanks for your tips!
    The server time is correct. That was actually logical,
   because wp shows the exact local time. But the plugin shows the current time 
   with one hour difference. The problem must be the plugin… Is there a relevant
   file in the plugin?

Viewing 8 replies - 1 through 8 (of 8 total)

 The topic ‘Need Timezone setting’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/email-posts-to-subscribers_f5f9fd.
   svg)
 * [Email posts to subscribers](https://wordpress.org/plugins/email-posts-to-subscribers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-posts-to-subscribers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-posts-to-subscribers/)
 * [Active Topics](https://wordpress.org/support/plugin/email-posts-to-subscribers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-posts-to-subscribers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-posts-to-subscribers/reviews/)

## Tags

 * [setting](https://wordpress.org/support/topic-tag/setting/)
 * [time](https://wordpress.org/support/topic-tag/time/)
 * [Zone](https://wordpress.org/support/topic-tag/zone/)

 * 8 replies
 * 4 participants
 * Last reply from: [rainerb](https://wordpress.org/support/users/rainerb/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/need-timezone-setting/#post-13726851)
 * Status: not resolved