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

rafass

Well-known member
#1
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.
Thanks.
 

Amaury

Well-known member
#2
Don't think a specific time zone can be done, but you can use the following for the time in general:

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