Results 1 to 7 of 7

Thread: Local time in stats?

  1. #1
    Join Date
    Feb 2006
    Posts
    81

    Default Local time in stats?

    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.

  2. #2
    Join Date
    Feb 2006
    Location
    Michigan
    Posts
    61

    Default

    Confused, are you talking about the time in the forums? That is under User CP > Options.

  3. #3
    Join Date
    Feb 2006
    Posts
    81

    Default

    Quote Originally Posted by atomicnuke
    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.

  4. #4
    Join Date
    Feb 2006
    Location
    Taiwan
    Posts
    13

    Default

    Quote Originally Posted by walker
    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.

  5. #5
    Join Date
    Feb 2006
    Location
    Stockbridge, GA
    Posts
    7

    Default

    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.dat....date.timezone

    So, this was a useless post.

  6. #6
    Join Date
    May 2006
    Posts
    4

    Default

    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.

  7. #7
    Join Date
    Aug 2006
    Posts
    2

    Default

    Quote Originally Posted by skinny
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •