Add one day to a date in a text field

Add one day to a date stored in a text field.

Overview

The date value is retrieved from a variable but needs to be incremented.
Use the date modifier function to adjust the date by one day directly within the field's value setting.

Answered
ChronoForms v6
st stikkimorey 05 Sep, 2018
Hi

I have a text field that has it's value set at:

{var:read_last_booking.last_booking.end_date}

How would I add on one day to that?

Thanks
he healyhatman 05 Sep, 2018
Answer
{date:Y-m-d$(var:read_last_booking.last_booking.end_date) + 1 day}
This topic is locked and no more replies can be posted.