Back to List
Placeholder | Replace With |
date | A date value, such as a Date variable |
date | A date value, such as a Date variable. (These can be in any order.) |
This expression allows you to find the number of days between two dates.
In the following example, a buyer has 60 days to make a payment on an account balance. If the buyer has missed the payment deadline, HotDocs merges a warning into the document:
if daysFrom( PurchaseDate, today) > 60
"Your account is past due."
else
"Your account is current. Thank you."
endIf
This example uses an if/else expression to determine the text that must be inserted.
Back to List