PDA

View Full Version : Local time in stats?



walker
02-21-2006, 12:45 PM
Just wondering if it's possible to localize the time output of Stats > Latest Visitors...so I don't have to keep mentally adding seven hours to what I'm reading. :)

atomicnuke
02-21-2006, 02:52 PM
Confused, are you talking about the time in the forums? That is under User CP > Options.

walker
02-21-2006, 03:10 PM
Confused, are you talking about the time in the forums? That is under User CP > Options.

No, in Cpanel. The Latest Visitors page under Web/FTP Stats always reports the time of visits seven hours behind my local (UK) time.

DrRx
02-24-2006, 01:43 AM
No, in Cpanel. The Latest Visitors page under Web/FTP Stats always reports the time of visits seven hours behind my local (UK) time.
Yes, I also want to know this adjustment, my local time is GMT+8.

jsumners
02-24-2006, 06:48 AM
It looks like PHP 5.1 added a new php.ini directive that lets you specify the local timezone without using putenv(). However, we don't have PHP 5.1 and I don't think it would affect the scripts that generate stats.

http://www.php.net/manual/en/ref.datetime.php#ini.date.timezone

So, this was a useless post.

skinny
05-23-2006, 10:20 PM
If you use awstats you can add this to your awstats.domain.conf and it should adjust the time for you.

LoadPlugin="timezone -5"

I just added it to mine, I'll let you know if it worked the next time awstats runs.

htilly
08-31-2006, 07:13 AM
If you use awstats you can add this to your awstats.domain.conf and it should adjust the time for you.

LoadPlugin="timezone -5"

I just added it to mine, I'll let you know if it worked the next time awstats runs.

Did you get this to work ?

I really need the same functionallity.
im in timezone GMT +2, but the stats shows local time in the US. Very frusrating !

/Tilly