Skip to content

Instantly share code, notes, and snippets.

@CreetureFeeture
Created April 10, 2016 23:24
Show Gist options
  • Save CreetureFeeture/03077fd5e5780333dab77343de2b35ab to your computer and use it in GitHub Desktop.
Save CreetureFeeture/03077fd5e5780333dab77343de2b35ab to your computer and use it in GitHub Desktop.
AMPscript Dynamic Date [30 Day]
//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