We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22770
    • 285 Posts
    I want to output the time that a page is posted using the [+date+] placeholder. Here’s what I’m doing:

    &dateFormat=`%B %e, %Y %l.%M %P`


    Which gives the date in the format that I want. However, the server is located in a different timezone to me, and I want to give the time in my timezone. Obviously, the [+date+] placeholder makes use of the Unix timestamp and is inserted by the server. Is there any way that I can modify the output to add, say, two hours to the displayed time?
      • 1122
      • 209 Posts
      You can add desired time offset in the configuration of your site: Tools/ Configuration/ Site/ Server offset time.
        • 22770
        • 285 Posts
        Quote from: alik at Aug 10, 2009, 09:53 AM

        You can add desired time offset in the configuration of your site: Tools/ Configuration/ Site/ Server offset time.
        That’s fantastic. Thank you!