Skip to content

Date not equal to

Input
value
Validate that value does not equal 2024-06-01
validation:
dateNotEqualTo

Ensure date field does not equal specified date

source:value
parameters
date

Date that the field must not equal

Output
result
Pass
Pass
Pass
Date field "value" equals unwanted date 2024-06-01
Date field "value" equals unwanted date 2024-06-01
Date field "value" equals unwanted date 2024-06-01

Sample inputs run locally in your browser using the same operation logic as Fontana Flow.
Results are illustrative, not connected to a workflow.

Ensure date field does not equal specified date.

Parameters

  • date (Target Date, string, required) — Date that the field must not equal. Examples: "2024-01-01", "2024-12-31", "2023-06-15".
  • formats (Accepted Formats, array, optional) — Date formats for both target date and source field (Luxon format strings). If not provided, uses default date formats. Multiple formats can be specified to try in order. Examples: ["dd/MM/yyyy"], ["dd/MM/yyyy","dd-MM-yyyy"], ["yyyy-MM-dd","MM/dd/yyyy"].

Field selection

  • source — Field whose values this operation reads. Omit to apply to all fields on the row.
  • target — Optional output field. When omitted, the source field is updated in place.

JSON Configuration

{
"id": "op-dateNotEqualTo",
"type": "validation",
"action": "dateNotEqualTo",
"params": {
"formats": [
"yyyy-MM-dd",
"MM/dd/yyyy",
"yyyy/MM/dd"
],
"date": "2024-06-01"
},
"testInputs": [
"2024-01-15",
"2024-12-31",
"2023-06-01",
"2024-06-01",
"06/01/2024",
"2024/06/01"
]
}