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

XF 1.5 Specific local time (Clock) in template?

Discussion in 'XenForo Questions and Support' started by rafass, Mar 26, 2016.

  1. rafass

    rafass Well-Known Member

    There are some way to add an specific local time (only the administrator time) (a simple clock) somewhere in the template?
    I just want to have something like: "our current local time is Sat 08:16" or something like that in the template.
  2. Amaury

    Amaury Well-Known Member

    Don't think a specific time zone can be done, but you can use the following for the time in general:

    {xen:date $serverTime, 'g:i A'}
    Special thanks to @Lisa for when she helped me.
    Lisa likes this.

Share This Page