Stuart Wright
Well-known member
I have this
And I want to display it as 'Y' - the year only.
With Xenforo 1 it is
But that doesn't work.
How to I do it in Xenforo 2 please?
Thanks
Code:
<xf:date time="{$product.product_release}" />
With Xenforo 1 it is
Code:
{xen:date $product.product_release,'Y'}
How to I do it in Xenforo 2 please?
Thanks