Title: Solution for &#8220;Server Time Problem&#8221;
Last modified: November 12, 2023

---

# Solution for “Server Time Problem”

 *  [yeniufuklar9041](https://wordpress.org/support/users/yeniufuklar9041/)
 * (@yeniufuklar9041)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/solution-for-server-time-problem/)
 * Solution for “server time” problem…
 * edit both ” wps-visitor-counter-count.php and wps_visitor_counter_views.php” 
   files with this
 *     ```wp-block-code
       date_default_timezone_set('Europe/Istanbul');
       $date = date("Y-m-d"); // Getting the current date
       ```
   
 * You can use your own country zone…

The topic ‘Solution for “Server Time Problem”’ is closed to new replies.

 * ![](https://ps.w.org/wps-visitor-counter/assets/icon-128x128.png?rev=2094881)
 * [WPS Visitor Counter](https://wordpress.org/plugins/wps-visitor-counter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wps-visitor-counter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wps-visitor-counter/)
 * [Active Topics](https://wordpress.org/support/plugin/wps-visitor-counter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wps-visitor-counter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wps-visitor-counter/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [yeniufuklar9041](https://wordpress.org/support/users/yeniufuklar9041/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/solution-for-server-time-problem/)
 * Status: not resolved