cancel
Showing results for 
Search instead for 
Did you mean: 

Substract in Adobe Forms

0 Kudos

Hi Experts,

I am new to adobe forms. I'm trying to substract two dates in this kind of forms. I've found the possibility of add one quantity to other, but no substract.

Accepted Solutions (0)

Answers (1)

Answers (1)

martin_voros
Active Contributor
0 Kudos

Hi,

you can use FormCalc function Date2Num(). It returns the number of days since the epoch for date. So you will get number of days between two date with the following formula.

diff = Date2Num(date1) - Date2Num(date2)

Cheers