DateTimeBetweenCondition

type: "io.kestra.core.models.conditions.types.DateTimeBetweenCondition"

Condition for allows events between two specific datetimes

# Examples

- conditions:
    - type: io.kestra.core.models.conditions.types.DateTimeBetweenCondition
      after: "2013-09-08T16:19:12"

# Properties

# after

  • Type: string
  • Dynamic:
  • Required:

The date must after this one

# before

  • Type: string
  • Dynamic:
  • Required:

The date must before this one

# date

  • Type: string
  • Dynamic: ✔️
  • Required: ✔️
  • Default: {{ now() }}

The date to test

Can be any variable or any valid ISO 8601 datetime, default will use {{ now() }}