DateTimeBetweenCondition
DateTimeBetweenCondition
yaml
type: "io.kestra.core.models.conditions.types.DateTimeBetweenCondition"
Condition to allows events between two specific datetime
Examples
yaml
- conditions:
- type: io.kestra.core.models.conditions.types.DateTimeBetweenCondition
after: "2013-09-08T16:19:12Z"
Properties
date
- Type: string
- Dynamic: ✔️
- Required: ✔️
- Default:
null
The date to test
Can be any variable or any valid ISO 8601 datetime, default will use null
after
- Type: string
- Dynamic: ❌
- Required: ❌
The date to test must be after this one
Must be a valid ISO 8601 datetime with the zone identifier (use 'Z' for the default zone identifier)
before
- Type: string
- Dynamic: ❌
- Required: ❌
The date to test must be before this one
Must be a valid ISO 8601 datetime with the zone identifier (use 'Z' for the default zone identifier)