Title: Setting time
Last modified: August 30, 2016

---

# Setting time

 *  [guilhermenocera](https://wordpress.org/support/users/guilhermenocera/)
 * (@guilhermenocera)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/setting-time-1/)
 * How to choose my country and how to set the correct times for timetable. The 
   app seems not to be working properly.
 * Please contact me as soon as possible.
 * [https://wordpress.org/plugins/wp-open-hours/](https://wordpress.org/plugins/wp-open-hours/)

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

 *  [vorskla](https://wordpress.org/support/users/vorskla/)
 * (@vorskla)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/setting-time-1/#post-6505364)
 * Edit wp-open-hours/time.php and replace a current date_default_timezone_set(”).
 * To fix a strange time calculating go to wp-open-hours/wp_openhour_widget.php 
   and just delete two divs after <div class=”mod-fwoh-<?php echo $template_arr[
   $layout]; ?>”> and add
    <div class=”mod-fwoh-<?php echo $template_arr[$layout];?
   >-time-label”>Current Time: **<?php echo date(“h:i a”); ?>**</div>
 *  Thread Starter [guilhermenocera](https://wordpress.org/support/users/guilhermenocera/)
 * (@guilhermenocera)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/setting-time-1/#post-6505380)
 * Thank you so much for that!
 *  [subhashsrs](https://wordpress.org/support/users/subhashsrs/)
 * (@subhashsrs)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/setting-time-1/#post-6505412)
 * In addition to edit of wp-open-hours/time.php and replace a current date_default_timezone_set(”).
   You have also replace a current date_default_timezone_set(”) in “wp-open-hours/
   wp_openhour_widget.php” too. After that continue last edit as viskia told just
   delete two divs after <div class=”mod-fwoh-<?php echo $template_arr[$layout];?
   >”> and add
    <div class=”mod-fwoh-<?php echo $template_arr[$layout]; ?>-time-
   label”>Current Time: <?php echo date(“h:i a”); ?></div>. Then this works great.
 * Thanks for great plugin
 *  [besfe](https://wordpress.org/support/users/besfe/)
 * (@besfe)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/setting-time-1/#post-6505439)
 * ok how about the opening in x hours? it always shows wrong calculation, can you
   help?
    thanks

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

The topic ‘Setting time’ is closed to new replies.

 * ![](https://ps.w.org/wp-open-hours/assets/icon-128x128.jpg?rev=1027858)
 * [WP Open Hour Widget](https://wordpress.org/plugins/wp-open-hours/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-open-hours/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-open-hours/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-open-hours/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-open-hours/reviews/)

## Tags

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

 * 4 replies
 * 4 participants
 * Last reply from: [besfe](https://wordpress.org/support/users/besfe/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/setting-time-1/#post-6505439)
 * Status: not resolved