I am using LiveCycle Designer ES2.
Management has provided me with a formula they would like to use on the form for the “Interest Amount” field.
The Formula is: InterestAmt = PrincipalAmt * TotalInterestRate / 360 * (MaturityDate - SettlementDate)
I am only familiar with basic calculations, so this task of making the formula work, especially with subtracting the date fields is very difficult. I know from reading several posts on google that Adobe Acrobat deals with milliseconds cause of the epoch date. But I am still clueless on where to begin.
I think I can complete the above formula once I can know how to subtract one date from the other.
Can someone please provide me with some code to complete the date subtraction for my LiveCycle form?
Do advise if additional information is required.