Sign in to Community
Sign in to view all badges
Expand my Community achievements bar.
Can anyone give me a simple FormCalc script in which an end date is subtracted from a start date and the result is expressed in number of days? I'm using LiveCycle Designer ES (not ES2). Thank you!
Use the following FormCalc script:
numDays = Date2Num("21/5/2012", "DD/M/YYYY") - Date2Num("19/5/2012", "DD/M/YYYY");
For more details on FormCalc scripting, pelase refer to: http://help.adobe.com/en_US/livecycle/es/FormCalc.pdf