Title: Input Date is not correct
Last modified: August 30, 2016

---

# Input Date is not correct

 *  Resolved [nurbs65](https://wordpress.org/support/users/nurbs65/)
 * (@nurbs65)
 * [11 years ago](https://wordpress.org/support/topic/input-date-is-not-correct/)
 * Hi xnau,
 * I have a strange problem.
 * I set in my settings:
    Strictly Input Date Format (looks like this: 26.07.2015)
   = marked Yes Date Format = d.m.Y
 * Now, if I input a date (26.07.2015) in the field and save the record so the input
   date is not correct. The value is 25.07.2015 insteed 26.07.2015.(Strange 1 day
   missing) Do you have an idee?
 * I try it with Strictly Input Date Format marked and unmarked.
 * [https://wordpress.org/plugins/participants-database/](https://wordpress.org/plugins/participants-database/)

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

 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [11 years ago](https://wordpress.org/support/topic/input-date-is-not-correct/#post-6366667)
 * I suggest you check your WP timezone setting and also the PHP timezone setting(
   usually this is in your hosting control panel)
 *  Thread Starter [nurbs65](https://wordpress.org/support/users/nurbs65/)
 * (@nurbs65)
 * [11 years ago](https://wordpress.org/support/topic/input-date-is-not-correct/#post-6366675)
 * Hi Xnau,
 * thank you for your fast answere. I don’t know whats wrong.
 * I checked the timezone setting in my wordpress installation and on php settings
   in the hosting control panel. Both values are set to timezone Berlin.
 * I also noticed that when i change a second date field then the first date field
   will also changed, this by using different field names. I used 70 fields in 12
   groups. Is this to much for the participants database?
 * My site is still under construction. Something is wrong with the date fields.
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [11 years ago](https://wordpress.org/support/topic/input-date-is-not-correct/#post-6366778)
 * No, it’s not too many fields. Does the date change when saved every time, or 
   only sometimes?
 *  Thread Starter [nurbs65](https://wordpress.org/support/users/nurbs65/)
 * (@nurbs65)
 * [11 years ago](https://wordpress.org/support/topic/input-date-is-not-correct/#post-6366837)
 * This happens each time if you save the record. All date fields will be changed.
   What do you thing should i do? Reinstall?
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [11 years ago](https://wordpress.org/support/topic/input-date-is-not-correct/#post-6366841)
 * Reinstalling won’t help, because whatever the problem is, it’s not caused by 
   a change in the code. I’m sorry, without some pretty deep debugging, I can’t 
   tell you what the problem is. The plugin doesn’t normally do this, of course.
 *  Thread Starter [nurbs65](https://wordpress.org/support/users/nurbs65/)
 * (@nurbs65)
 * [11 years ago](https://wordpress.org/support/topic/input-date-is-not-correct/#post-6366845)
 * I think you’re right. Nevertheless, I’ll try a reinstallation with a new data
   import. Otherwise I have no way. Maybe it runs. If it works then I will write
   this here again. Thank you for your help.
 *  Thread Starter [nurbs65](https://wordpress.org/support/users/nurbs65/)
 * (@nurbs65)
 * [11 years ago](https://wordpress.org/support/topic/input-date-is-not-correct/#post-6366852)
 * I have the plugin new installed with the default data. I have added a new date
   field. When I save the record the date will every time changed. .. It is as before.
 * I do not know what happened. Everything is standard. Do you think that it may
   be possible that we have a confilct with another plugin? I am the only one who
   has these problems?
 * Participans Database is a great plugin and you did a very good work.
    Please,
   please help me.
 *  Thread Starter [nurbs65](https://wordpress.org/support/users/nurbs65/)
 * (@nurbs65)
 * [11 years ago](https://wordpress.org/support/topic/input-date-is-not-correct/#post-6366853)
 * Same problem if I disable all plugins except Participants Database.
 *  Thread Starter [nurbs65](https://wordpress.org/support/users/nurbs65/)
 * (@nurbs65)
 * [11 years ago](https://wordpress.org/support/topic/input-date-is-not-correct/#post-6366856)
 * Used PHP Version 5.4 – Run PHP as FastCGI-Application
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [11 years ago](https://wordpress.org/support/topic/input-date-is-not-correct/#post-6366857)
 * People sometimes have issues with a timezone shift due the configuration of the
   web server. For instance, if the PHP timezone setting is not active in all scripts,
   then you can have a situation where the PHP timezone defaults back to the server
   timezone. You my need to make sure that your PHP timezone is set globally.
 *  Thread Starter [nurbs65](https://wordpress.org/support/users/nurbs65/)
 * (@nurbs65)
 * [11 years ago](https://wordpress.org/support/topic/input-date-is-not-correct/#post-6366861)
 * The global timezone is correctly set. Is it possible, that an old options value
   is not up to date? I want to sure, when I install the plugin again that no options
   value is set. How can I find all participants database option values in the wordpress
   table präfix_options and delete the entries for a new clear installation? Does
   this make sense?
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [11 years ago](https://wordpress.org/support/topic/input-date-is-not-correct/#post-6366864)
 * The Participants Database plugin doesn’t set the timezone, so there isn’t a value
   in the plugin options that affects the timezone. The setting it uses is the current
   PHP timezone setting. Where that setting comes from can vary depending on your
   particular setup.
 * It is possible for the timezone setting to be correct in one script, but in another
   script, it will revert to the server default timezone. This happens if, for instance,
   the timezone is set in a php.ini file in the web root, but due to the server 
   configuration, that setting is not active in all subdirectories. You may want
   to ask your web host about this.
 * You may find that setting the timezone in the wp-config.php helps to ensure the
   PHP timezone is consistent in all scripts.
 *  Thread Starter [nurbs65](https://wordpress.org/support/users/nurbs65/)
 * (@nurbs65)
 * [11 years ago](https://wordpress.org/support/topic/input-date-is-not-correct/#post-6366870)
 * It works, you were right. :-).
    Here is the solution. I add the functions.php
   with the following code:
 *     ```
       function op_fix_timezone() {
       	date_default_timezone_set('Europe/Berlin');
       }
       add_action('init', 'op_fix_timezone', 1);
       ```
   
 * Now it works and I am happy.
    Thank you, for your helpful support and the great
   plugin.
 *  Plugin Author [Roland Barker](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [11 years ago](https://wordpress.org/support/topic/input-date-is-not-correct/#post-6366873)
 * Nice solution!

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

The topic ‘Input Date is not correct’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

 * 14 replies
 * 2 participants
 * Last reply from: [Roland Barker](https://wordpress.org/support/users/xnau/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/input-date-is-not-correct/#post-6366873)
 * Status: resolved