Often there is a requirement to calculate the difference between 2 different dates on a label, such as an entered date versus the current date. This can be done with a script.
How to Create a Script to Calculate the Difference between Dates in Days
The following script will compare a user entered date to the current date, and calculate the difference between the 2, putting the resulting number of days onto the label for printing. The script may be modified to compare any 2 date fields.
Use the link below to see the sample label.
Loftware 9.5 and higher
All supported environments, 9.5 and higher.