Get user/visitor registered date in template variables

Hi there

I'd like to get a visitor's registered date for use in an evaluation (if date > X) for example. I've tried a search here and found plenty of advice about handling dates in PHP, but not the templates.

Chris D

XenForo developer
Staff member
The register date is available on the visitor record in templates as:

The condition would look something like this:
<xen:if is="{$visitor.register_date} > X">
    // Do something