1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Time Zones

Discussion in 'Troubleshooting and Problems' started by TCombs, Feb 15, 2011.

  1. TCombs

    TCombs Member

    I setup a forum for a client, however something is wrong with the "posted time".

    To test it, I made a post: http://www.thesportsrevolt.com/rebels/threads/shaq.6/

    I put the time of the post in the thread, which was 11:15am Eastern Daylight Time.
    The forum show's that I posted it at 11:37am EDT.

    However, my client, who is also in the same time zone as me, when he looks at it, it says it was posted at 4:37 pm.

    In the control panel, under Home>Options>Basic Board Information>Guest's Time Zone , I have it set to (UTC - 05:00) Eastern Time.

    Is there somewhere else I need to set the time?

    Also, The server that hosts this website is also in the same time zone as I am.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    If the server time differs from the watch/clock/site you used when you made the post, that will account for the difference.

    In addition to the guest timezone, you also need to set it in your own account preferences.
    Rob Fritz likes this.
  3. TCombs

    TCombs Member

    My friend owns the hosting company, we checked the server and it's set to EDT.

    If you look at the thread in my original post, what time does it say it was posted when you look at it?

    PS - Thanks for the quick response.
  4. Brogan

    Brogan XenForo Moderator Staff Member

    As a guest it shows as: Sunday at 11:37 AM
  5. TCombs

    TCombs Member

    So that part is working right.

    My client is obviously a member to the site, when he logs in, it says it was posted at 4:37pm. The time zone on his PC is also EDT.
    So any guess to why it's off by 5 hrs when he views it?

    I will double check the server again, but it seems like it should show the same time for members & guests.
  6. Brogan

    Brogan XenForo Moderator Staff Member

    As I posted above, this will depend on which timezone he has set in his account preferences.

    You can test this yourself by changing it and viewing the effect on the posted time.
  7. TCombs

    TCombs Member

    Is there a way to set the default timezone for all members?
  8. Brogan

    Brogan XenForo Moderator Staff Member

    You can do it with an SQL query:
    UPDATE xf_user SET timezone = 'America/New_York';
  9. TCombs

    TCombs Member

    Thanks for your help and super fast responses!
  10. Robert F Schmitz

    Robert F Schmitz Well-Known Member

    Ah now it looks right. lol This was driving me nuts. Double checked all the time settings on my site, missed that one, and still a time that was off.

Share This Page