• 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?


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.


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.