Buy Now
Sign in

Add one day to a date in a text field

stikkimorey , September 05 2018, 12:56
S
stikkimorey 72
September 05 2018, 12:56 #380019
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
healyhatman 7
September 05 2018, 13:22 #380020
 Answer
{date:Y-m-d$(var:read_last_booking.last_booking.end_date) + 1 day}
Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store
S
stikkimorey 72
September 05 2018, 15:57 #380022
Awesome thanks!