FlowDSL Node Catalog

DateTime

Parse, format, add, diff, or convert dates and durations.

Overview

PropertyValue
Node IDcore/datetime
Kindtransform
Modulecore-flowdsl
Repogo-flowdsl
Handlergithub.com/redelay/go-flowdsl/nodes/core.DateTime
Iconlucide:clock
Color#8b5cf6
Tagsdate, time, transform

Outputs

  • out — (no description)

Settings

PropertyTypeRequiredDefaultUI GroupDescription
durationstring———For add: Go duration string (e.g. "24h", "-1h").
inputFormatstring—2006-01-02T15:04:05Z07:00—Go time layout for parse/format.
opstring (now|parse|format|add|…)yesnow—
outputFormatstring—2006-01-02T15:04:05Z07:00—
outputKeystringyesresult—
sourcePathstring———
timezonestring—UTC—

Example

yaml
# Use this node in a flow:
nodes:
  - id: my_step
    name: My Step
    kind: transform
    action_ref: core/datetime
    config:
      duration: "value"
      inputFormat: "value"
      op: now
      outputFormat: "value"
      outputKey: result
      sourcePath: some.packet.path
      timezone: UTC