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)"]
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

Your email address will not be published. Required fields are marked *

More SOAPnotes by this Author: