HotDocs Author WorkflowCreate a template Add placeholders Group variables in dialogs Upload a template Create a script

DATE != DATE Operator

The Date != Date operator returns a value of true if the two date values you specify are not equal.

The != operator works with any two date values including date variables, date expressions, and functions returning date values.

Operator Description After you drag and drop the operator into the script tab: Expression returns:
!= ⟦DATE⟧ != ⟦DATE⟧ Replace both ⟦DATE⟧ placeholders with the date values you want to compare in your script. You can drop a variable (from the Component tab) or another model on the placeholder, or you can replace the placeholder with an expression. A TRUE/FALSE value.

Examples

IF TODAY != DATE OF (12,31,2017) //TRUE any day but 12/31/2017 will yield FALSE

Download

the example template, you can import the template to any workspace to see this example code in action.