ActiveCampaign
Also available forKeap

[memb_days_difference]

Summary
This shortcode displays the number of days from now to another date.

Description

This shortcode displays the number of days from now to another date.

Shortcode Examples

The shortcode to display the number of days from a date:

[memb_days_difference date="2015-10-31"]

The shortcode to display the number of days from a date, and add text afterwards depending on whether the date is in the future, or the past:

[memb_days_difference date="2015-12-25" after=" days after Christmas" before=" days until Christmas"]

Dynamically determine the number of days before or after birthday

[memb_days_difference date="{{contact.birthday}}" before=" days ago" after=" days from now"]

Shortcode Parameters

captureLets you capture the output of this shortcode and route it to the destination of your choice (?)
dateThe date to find the difference from.
afterThe phrase to put after dates in the future.
beforeThe phrase to put after dates in the past.
txtfmtLets you process the output of this shortcode through text processing functions (?)

FAQ

Can I use this shortcode as an Admin?

Yes.

Shortcode Attributes

ConditionalNo
NestableNo
Accepts formattingYes
CapturableYes