XF 1.1 Output Raw Unix Timestamp in a Template


I need a cachebuster string in a template.

I am using {xen:date $serverTime, dmyGis} right now, which I saw in another thread.

But is there a way to just output the raw Unix time stamp?

Chris D

XenForo developer
Staff member

Yep! {xen:date formats a timestamp and you were already using {$serverTime} for that purpose.