[memb_days_difference]

This Applies to
OTHER DOCS Available

Summary

This shortcode displays the number of days difference from today 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​

capture:  Lets you capture the output of this shortcode and route it to the destination of your choice (?)

date:  The date to find the difference from.

after:  The phrase to put after dates in the future.

before:  The phrase to put after dates in the past.

txtfmt:  Lets you process the output of this shortcode through text processing functions (?)

Shortcode Attributes

Conditional: No (?)
Nestable: No (?)
Accepts formatting: Yes (?)
Capturable: Yes (?)

FAQ

Can I use this shortcode as an Admin?

Yes.

  • Was this Helpful?
  • YesNo
9 ways to add more value to your membership site

[memb_days_difference]

This Applies To

Book a Call

Welcome to Memberium!

We are very excited for you to be part of our family. 

We would love to answer any questions that you have!

Please choose the best time for you to get in a call with us. 

For Technical Support, you can contact us at https://keap.memberium.com/support/ or Email us at support@memberium.com.