Date equal to
Input
| value |
|---|
Validate that value equals 2024-06-01
validation:dateEqualTo
Ensure date field equals specified date
source:value
parameters
- date
Target date to compare against
Output
| result |
|---|
| Pass |
| Pass |
| Pass |
| Date field "value" is not equal to 2024-06-01 |
| Date field "value" is not equal to 2024-06-01 |
| Date field "value" is not equal to 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 equals specified date.
Parameters
- date (Target Date, string, required) — Target date to compare against. 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-dateEqualTo", "type": "validation", "action": "dateEqualTo", "params": { "formats": [ "yyyy-MM-dd", "MM/dd/yyyy", "yyyy/MM/dd" ], "date": "2024-06-01" }, "testInputs": [ "2024-06-01", "06/01/2024", "2024/06/01", "2024-01-15", "2024-12-31", "2023-06-01" ]}