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

strfrtime in a template?

SneakyDave

Well-known member
#1
I have an external application that updates a custom user profile field with an integer time.

Is there a way to format the date/time with strfrtime in an xF template or do I need to create some kind of callback to do that?
 

SneakyDave

Well-known member
#4
Now I have the same question about sprintf. Can't seem to find that anywhere, or even to convert a value to 2 decimal places.

I did find the useful xen:calc function though, so all is not lost.