Title: Date error
Last modified: August 30, 2016

---

# Date error

 *  Resolved [stijn98765](https://wordpress.org/support/users/stijn98765/)
 * (@stijn98765)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/date-error-3/)
 * Dear,
 * When we place a reservation on our site we get the succes email in our inbox 
   as it should be, but we keep getting the same date for the reservation. The date
   is always 09/06/2014 (dd/mm/yyyy). So at the moment it isnt possible for us to
   find out the exact date of the reservation of our customers.
 * Please help!!
 * Thank you in advance!
 * [https://wordpress.org/plugins/restaurant-reservations/](https://wordpress.org/plugins/restaurant-reservations/)

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/date-error-3/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/date-error-3/page/2/?output_format=md)

 *  [NateWr](https://wordpress.org/support/users/natewr/)
 * (@natewr)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/date-error-3/#post-6305251)
 * Hi stijn98765,
 * I’d recommend you take the following steps to try to pinpoint the problem:
 * 1. Check your date and time formats for WordPress. You’ll find these under the
   Settings > General panel (where you set site title and tagline). Set them to 
   one of the default options and see if that helps.
 * 2. If that doesn’t help, try switching to a default theme and deactivate all 
   other plugins, and then test to see if that has fixed things. Some plugins or
   themes tamper with the date format in ways that might be causing problems.
 *  Thread Starter [stijn98765](https://wordpress.org/support/users/stijn98765/)
 * (@stijn98765)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/date-error-3/#post-6305274)
 * Thanks for your respond! I find out the problem isnt there when the plugin q 
   translate x is disabled.
 * Do you know this plugin and is there a way to let them both work on my site?
 * Thanks for you help this far!
 *  [NateWr](https://wordpress.org/support/users/natewr/)
 * (@natewr)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/date-error-3/#post-6305294)
 * Hi stijn98765,
 * I am familiar with the plugin. I suspect that the problem is not with the plugin
   itself, but with the date format setting connected to a particular language. 
   See if you can find a place where date formats are defined for each language.
   There’s probably a bad date format in there somewhere that is causing the problem.
 *  Thread Starter [stijn98765](https://wordpress.org/support/users/stijn98765/)
 * (@stijn98765)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/date-error-3/#post-6305295)
 * Hi NateWr,
 * Again thanks for your respons!
 * I tried what you said, and I saw that it was possible to change the date format
   for each language in Q Translate X. When I changed the format I notice that the
   format changes in the notification emails. But the date stays at 09/06/14 (dd-
   mm-yy).So it seems the format is not the problem. What could the problem be?
 *  [NateWr](https://wordpress.org/support/users/natewr/)
 * (@natewr)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/date-error-3/#post-6305310)
 * Hi stijn98765,
 * I’m not sure what would be causing the issue. What is the format string that 
   is set? You can’t use a format like `dd-mm-yy`. It needs to use the [PHP date formatting](http://php.net/manual/en/function.date.php)
   rules and should be a format that can be recognized by [mysql2date](https://codex.wordpress.org/Function_Reference/mysql2date).
 *  Thread Starter [stijn98765](https://wordpress.org/support/users/stijn98765/)
 * (@stijn98765)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/date-error-3/#post-6305312)
 * Hi NateWr,
 * I used the php date format: d m o
 * Does mysql reconize this?
 * When we installed q translate x, we also update the restaurant reservations plug-
   in at the same time, is it possible that this have something to do with the issue?
 * Notable is that the date 09/06/14 shows up in every reservation, the date has
   to come from somewhere I think?
 * Thanks already!
 *  Thread Starter [stijn98765](https://wordpress.org/support/users/stijn98765/)
 * (@stijn98765)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/date-error-3/#post-6305335)
 * I found the solution!
 * Q translate X offers the possibility to change the way of conversion of your 
   date/time. I tried some possibilities and it turns out in a working solution!
 * Either way thanks for your help!
 *  [NateWr](https://wordpress.org/support/users/natewr/)
 * (@natewr)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/date-error-3/#post-6305357)
 * Hi stijn98765,
 * Great, glad you were able to find a solution. If you have any more details on
   where the setting is that helped you resolve the problem, and what specific conversion
   format you used, that will help me help other people who run into this problem
   in the future.
 *  [gretagreiss](https://wordpress.org/support/users/gretagreiss/)
 * (@gretagreiss)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/date-error-3/#post-6305436)
 * Sorry guys, i have the same problem. Could you tell me the exatct way to put 
   the proper date format? Many thanks
 *  [NateWr](https://wordpress.org/support/users/natewr/)
 * (@natewr)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/date-error-3/#post-6305437)
 * Hi gretagreiss,
 * I’m not sure where stijn98765 found that qTranslate feature. But as a general
   rule, I recommend using `Y-m-d H:i:s`, at least to test to see this is the problem.
   This format will output `YYYY-MM-DD HH:MM:SS`, which is very widely compatible.
 *  [anatolir](https://wordpress.org/support/users/anatolir/)
 * (@anatolir)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/date-error-3/#post-6305467)
 * Hi stijn98765!
    I face exactly the same problem. Disabling QTranslateX brings
   the date back to normal, but i was unable to figure out a format that would fix
   the issue. Could you please share the string that you entered into the QTranslateX
   date format field? Thank you!
 *  [NateWr](https://wordpress.org/support/users/natewr/)
 * (@natewr)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/date-error-3/#post-6305468)
 * Hi anatolir,
 * The safest string for you to test with would be this:
 *     ```
       Y-m-d H:i:s
       ```
   
 *  [anatolir](https://wordpress.org/support/users/anatolir/)
 * (@anatolir)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/date-error-3/#post-6305470)
 * Thank you, but unfortunately that does not help. I have also tried all date formats
   I could find. Looks like the one of the plugins will have to go 🙁
 *  [anatolir](https://wordpress.org/support/users/anatolir/)
 * (@anatolir)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/date-error-3/#post-6305471)
 * Honestly, your plugin is the best in the Reservation category out of quite a 
   few that I have tried. If I get the paid version will there be a way to resolve
   this issue?
 *  [NateWr](https://wordpress.org/support/users/natewr/)
 * (@natewr)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/date-error-3/#post-6305472)
 * Hi anatolir,
 * I’m afraid not. The commercial addons don’t change this behaviour in any way.
 * Have you tried reaching out to the people behind qTranslate? They may be able
   to advise you on the best way to handle the date translation.
 * Alternatively, I have heard some positive things about the [Polylang](https://wordpress.org/plugins/polylang/)
   plugin for translation.

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/date-error-3/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/date-error-3/page/2/?output_format=md)

The topic ‘Date error’ is closed to new replies.

 * ![](https://ps.w.org/restaurant-reservations/assets/icon-128x128.png?rev=2205491)
 * [Five Star Restaurant Reservations - WordPress Booking Plugin](https://wordpress.org/plugins/restaurant-reservations/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/restaurant-reservations/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/restaurant-reservations/)
 * [Active Topics](https://wordpress.org/support/plugin/restaurant-reservations/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/restaurant-reservations/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/restaurant-reservations/reviews/)

 * 17 replies
 * 5 participants
 * Last reply from: [NateWr](https://wordpress.org/support/users/natewr/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/date-error-3/page/2/#post-6305474)
 * Status: resolved