i4w_date

Usage:

This shortcode returns (1) the current date or (2) the passed date formatted according to the parameter value. It can 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_date].

Shortcode nesting is NOT supported.

Parameters:

date he values passed to this parameter must be a value that PHP’s “strtotime()” function will understand. Most Infusionsoft date fields are properly formatted and will work.
Default: Today’s date.
Required: no.
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: yes.

Example:

API:

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