Get the Current Date

To insert the system date into a rule, you use the Current Date function. The Current Date function returns the system date at the start of the session.

For example, the following comparison:

the date of assessment = the current date

will infer the date of assessment to be 12/12/2018 if the rule is run on 12/12/2018.

The current date can also be used as an input date in a calculation. For example:

the date 2 weeks from today = the date 2 weeks after the current date

will infer the date 2 weeks from today to be 26/12/2018 if the rule is run on 12/12/2018. Here the current date is the input date in an Add Weeks function.