XF 2.2 Can i use PHP date_diff in template?

XboxUnlimited

Active member
Hi,

I'm trying to calculate the number of days between two dates and display the result in my template, does anyone know if the php function date_diff can be used?
 
Back
Top Bottom