Adding and Subtracting Days

[date name="variable_1" default="today" memo="today"]
[calc memo="2 days in the future (click *Calculate Result*)" value="score1=(variable_1).dateAdd(2)"]
[calc memo="2 days in the past (click *Calculate Result*)" value="score2=(variable_1).dateAdd(-2)"]
today
2 days in the future (click *Calculate Result*)score1=(variable_1).dateAdd(2)
2 days in the past (click *Calculate Result*)score2=(variable_1).dateAdd(-2)

Result - Copy and paste this output:

Sandbox Metrics: Structured Data Index 1, 3 form elements, 1 dates, 2 calculations, 1 total clicks
Questions/General site feedback · Help Ticket

Send Feedback for this SOAPnote

This site uses Akismet to reduce spam. Learn how your comment data is processed.

More SOAPnotes by this Author: