Check our new

Forum for users of JoomlaWatch / ExtraWatch for Joomla, Wordpress, Drupal, Magento, Prestashop

JoomlaWatch / ExtraWatch has following features: live real-time visitor statistics, location of your visitors on a map, blocking of users based on bad word list, front-end counters, click heat map, definition of goals and rules, graphs, directory size monitoring, monitoring of increase of database data in time, nightly email reports, interactive HTML5 chart of traffic flow within your website, SEO report with keyword statistics and keyword position trends

Welcome, Guest
Please Login or Register.    Lost Password?

Please Advise (Solved)
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Please Advise (Solved)
Please Advise (Solved) 10 Years, 4 Months ago Karma: 0
Is there a way to change the Date on JoomlaWatch? At 6:00pm est usa time the Day changes. The day is 18 hours late -- Daily stats 10.02.2008 (today)

How and where can I change the code?


disregard this post and pleas delete.

See Time and date on JoomlaWatch post for solution.<br><br>Post edited by: largtr, at: 2008/02/11 22:29
user5997 (User)
Fresh Boarder
Posts: 4
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Re:Please Advise 10 Years, 4 Months ago Karma: 31
the actual time is taken from the server. So, when you do have a hosting service somewhere in europe, the time is taken by europe\\\'s timezone.

One solution for this might be, that you\\\'ll substract a constant in every date function.


$today = date(\\\&amp;quot;d.m.Y\\\&amp;quot;, time());


$today = date(\\\&amp;quot;d.m.Y\\\&amp;quot;, time() - 3600*24*HOURS );

(because time() returns time in seconds)

or, you can define:

$today = date(\\\&amp;quot;d.m.Y\\\&amp;quot;, time() - CONSTANT );

and add this constant into config.php

define(\\\'CONSTANT\\\', 3600*24*6);

That\\\'s all I can suggest. This is also good feature that might be available in the new version.

Currently, I don\\\'t have much time to implement it, so any experiences from your side with this will be appreciated.

Hope it helped,


user62 (Admin)
Posts: 770
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
Go to topPage: 1

This website uses cookies to ensure you get the best experience on our website. Learn More.

Got It!