Skip to main content

i4w_tagdate

Usage

This shortcode returns the date a tag was assigned to a contact, formatted according to the 'format' parameter value. It can also interpret PHP strtotime() instructions and apply them to either the current date or the passed date.

[ELSE_tagdate] conditional branching is NOT supported.

Shortcode nesting is NOT supported.

Parameters

ParameterDescriptionDefaultRequired
tagidThe tag ID assigned to the current, logged in contact.NoneYes
operationAny text value recognized by PHP's strtotime() function.NoneNo
formatThe values passed to this parameter must follow the syntax rules set for the PHP function date(). See: http://www.php.net/manual/en/function.date.phpF jS, YNo

Example

Shortcode
[i4w_tagdate tagid='1234' format='m/d/Y']
Shortcode
[i4w_tagdate tagid='1234' operation='+60 days' format='m/d/Y']