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.

This shortcode does NOT supports conditional branching with [ELSE_tagdate].

Shortcode nesting is NOT supported.


tagid The values passed to this parameter is that of the tag ID assigned to the current, logged in contact.
Default: none.
Required: yes.
operation Any text value recognized by PHP’s strtotime() function.
Default: none.
Required: no.
format The 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.php

Default: ‘F jS, Y’.
Required: No; uses default value.


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


To use this shortcode in your own PHP code, please use as follows:

'123', 'format'=>'Y-m-d' ) );