Title: time
Last modified: February 26, 2020

---

# time

 *  Resolved [siddilasha](https://wordpress.org/support/users/siddilasha/)
 * (@siddilasha)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/time-20/)
 * Booking present time is different with local time.
    how to change time in this
   plugin

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

 *  Plugin Author [wpdevart](https://wordpress.org/support/users/wpdevart/)
 * (@wpdevart)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/time-20/#post-12484115)
 * Hi dear user.
 * Our plugin takes the website server time zone. Unfortunately, at this moment 
   there isn’t such an option to change the time zone.
 * Thanks.
 *  [rasamax](https://wordpress.org/support/users/rasamax/)
 * (@rasamax)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/time-20/#post-12486645)
 * Hello!
 * I guess this issue is the same as in “Wrong Reservation Date in Reservation List
   and Notification mail”.
 * The problem:
    Reservation list shows dates the day before actually the booking
   was made for. F.ex. Bookings made on 01.02.2020 (86), 09.02.2020 (88), 01.03.2020(
   89). And calendar shows them fine [https://i.imgur.com/NS0eJ6d.png](https://i.imgur.com/NS0eJ6d.png)
   as database too [https://i.imgur.com/WTYl3Ce.png](https://i.imgur.com/WTYl3Ce.png)(
   89). But reservation list shows as 31.01.2020 (86), 08.02.2020 (88), 29.02.2020(
   89). [https://i.imgur.com/3qrTGy0.png](https://i.imgur.com/3qrTGy0.png)
 * Possible solution:
    You used “date_i18n” function which requires second parameter
   to be a timestamp. But it has to be a timestamp and timezone offset in seconds.
   Our website timezone is “Oslo” which is +0100. The date from database 2020-03-
   01 results in timestamp for 2020-03-01 00:00:00. But “timestamp and timezone 
   offset in seconds” for 2020-03-01 00:00:00 in Oslo is 2020-03-01 01:00:00 in 
   GMT. Currently we fix it by calculating and adding GMT offset to date_i18n() 
   timestamp parameter. Or just using default date() in place of date_i18n() in 
   Reservations.php several places [https://i.imgur.com/y9FxcH1.png](https://i.imgur.com/y9FxcH1.png),
   [https://i.imgur.com/HU8yxoB.png](https://i.imgur.com/HU8yxoB.png) . Then reservation
   list shows correct dates. [https://i.imgur.com/WMcy6le.png](https://i.imgur.com/WMcy6le.png)
 * Thank you!
 *  Plugin Author [wpdevart](https://wordpress.org/support/users/wpdevart/)
 * (@wpdevart)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/time-20/#post-12490210)
 * Hi.
 * Thanks a lot [@rasamax](https://wordpress.org/support/users/rasamax/) for your
   detailed reply and suggested solution.
 * We will try to fix it in the future and then we will update the plugin.
 * We are going to close this topic, if you have other questions, then contact us
   again.
 * Thanks.

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

The topic ‘time’ is closed to new replies.

 * ![](https://ps.w.org/booking-calendar/assets/icon-128x128.png?rev=1307202)
 * [Booking calendar, Appointment Booking System](https://wordpress.org/plugins/booking-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/booking-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/booking-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/booking-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/booking-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/booking-calendar/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [wpdevart](https://wordpress.org/support/users/wpdevart/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/time-20/#post-12490210)
 * Status: resolved