We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30319
    • 406 Posts
    What's the correct system settings to use to make MODx display the correct timestamps and time??
    We're on EST/EDT GMT -5 time.
    Thank you, Tom

    This question has been answered by TomMLS. See the first response.

      • 28042 ☆ A M B ☆
      • 24,524 Posts
      There should be a Configuration setting for Default Time Zone; this should be set to match the default timezone set in your php configuration.

      It will use the setting in the active php.ini file (via the PHP ini_get() function). If this is not set or it does not match the Default Time Zone configuration setting, then the Default Time Zone configuration will be used.

      If neither the php.ini nor the MODx configuration setting is available, it will default to UTC.

      http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone [ed. note: sottwell last edited this post 14 years, 8 months ago.]
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 30319
        • 406 Posts
        I put -5 for my dev server, which appears to work...

        What do I do for remote/production server??
        There's a 'server offset' setting.
        If my production server's timezone is 2 hours behind me (Dallas TX) should server offset be +2 or -2??

        Thank you, Tom
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Try them both and see what happens wink
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
          • discuss.answer
            • 30319
            • 406 Posts
            thank you...discovered the server offset and +1 for america/chicago, hope it is what we need, thank you for your help!!