This technical note provides an example of how to calculate the number of days between the current date and a date attribute. For example, using the Strategy Tutorial project, users may want to calculate the number of days between today and the Hire Date. First, a metric calculating the difference between Hire Date and today is created by using the following definition:

Max((CurrentDate() - ))
After adding the metric to the report, it displays the difference in days, as shown below:
