Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Question

Avatar

Level 1

I have two fields, both are date/time fields. One is named start date and the other is named cancel date. I need the "Cancel Date" field to be 7 days from the start date e.g.( "Start Date" +7 days) Start date is formatted MM/DD/YYYY. Does anyone know the script for Form Calc to do this calculation?

1 Accepted Solution

Avatar

Correct answer by
Level 1

You are awesome!!!! Thanks you that is exactly what I needed.

View solution in original post

2 Replies

Avatar

Level 10

Make sure to adjust the field names and display patterns in the above code sample

Nith

Avatar

Correct answer by
Level 1

You are awesome!!!! Thanks you that is exactly what I needed.