How to calculate a future date based on today plus number of days?

By: Ralph Nohe | Asked: 09/05/2024
ForumsCategory: How-toHow to calculate a future date based on today plus number of days?
Ralph Nohe asked 3 months ago
My form has a date field with todays date ("START DATE"). In addition it has a second field ("DURATION") with a dynamically calculated number of days, e.g. 30, 60 or 360). Now I want to use a third calculated field ("END DATE") to show and store the date calculated as START DATE+DURATION. How can I do this?
Question Tags:
1 Answers
Best Answer
Rob LeVineRob LeVine answered 3 months ago
I can only suggest jQuery. I tried this scenario with the built-in features and couldn't get them to work.
Ralph Nohe replied 3 months ago

Thank you Rob!

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right