Created
April 10, 2016 23:24
-
-
Save CreetureFeeture/03077fd5e5780333dab77343de2b35ab to your computer and use it in GitHub Desktop.
AMPscript Dynamic Date [30 Day]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //dynamic date set to today + 30 days | |
| %%[ VAR @expire, @current SET @current = NOW() SET @expire = DateAdd(@current, "30", "D") ]%% | |
| //to show the expiration date | |
| %%=format(@expire, "MM/dd/yyyy")=%% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment