Title: Wrong dates
Last modified: January 22, 2020

---

# Wrong dates

 *  Resolved [levanier](https://wordpress.org/support/users/levanier/)
 * (@levanier)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/wrong-dates-3/)
 * When a customer select a date (or a date range), it’s not working properly.
    
   A wrong date ( in 1999) is selected instead.
 * Steps to reproduce the issue :
    1) make a reservation for any date of your choice
   2) check in your e-mail the check-in date It should be wrong ( 30 november 1999
   instead of your choice)
 * I have checked, I selected [booking] calendar shortcode and not the only-available
   dates calendar.
 * Can you help me to solve my problem ?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwrong-dates-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/wrong-dates-3/#post-12352551)
 * Hello.
 * 1) Firstly please recheck about the any conflicts with other plugins.
    Please
   try to deactivate one by one all your active plugins at the WordPress > Plugins
   menu and make testing after each plugin deactivation. If its not help, please
   deactivate all your plugins and active the default WordPress theme. And then 
   retest it again. We just need to find the reason of this issue.
 * 2) Otherwise, if the issue exist only in the emails (and in the Booking Listing
   page you are having correct dates), so then please try to make this fix.
 * Please open this file ../booking/core/wpbc-dates.php
 * ( you can check how to edit files in WordPress menu in this article [https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/](https://wpbookingcalendar.com/faq/how-edit-file-in-wp-menu/))
 * then find this code:
 *     ```
       $mydates_result .= date_i18n( $date_format_now, mktime( $tms[0], $tms[1], $tms[2], $dta[1], $dta[2], $dta[0] ) ) . ', ';
       ```
   
 * and replace it to this code:
 *     ```
       //FixIn: 8.7.3.9    - fix issue of Daylight Saving Time - in some systems after ~ 29 of March, system generate minus several hours which  show incorrect  selected dates
               $mydates_result .= date( $date_format_now, strtotime(  $dt   ) ) . ', ';
       ```
   
 * This issue can be because of “Daylight Saving Time” – in some systems after ~
   29 of March, generate time shift for some hours.
    This fix will be exist in next
   update of plugin.
 * Kind Regards.
 *  Thread Starter [levanier](https://wordpress.org/support/users/levanier/)
 * (@levanier)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/wrong-dates-3/#post-12352579)
 * Ok, i’m impressed.
 * 2 minutes after my new topic I got the answer right and fix my problem. You guys
   are the best !
 * Lots of love from france !
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/wrong-dates-3/#post-12352580)
 * You are welcome:)

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

The topic ‘Wrong dates’ is closed to new replies.

 * ![](https://ps.w.org/booking/assets/icon-256x256.gif?rev=3335907)
 * [Booking Calendar](https://wordpress.org/plugins/booking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/booking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/booking/)
 * [Active Topics](https://wordpress.org/support/plugin/booking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/booking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/booking/reviews/)

## Tags

 * [wrong date](https://wordpress.org/support/topic-tag/wrong-date/)

 * 3 replies
 * 2 participants
 * Last reply from: [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/wrong-dates-3/#post-12352580)
 * Status: resolved