Date Operations

circle-info

See the changelog of this Action type here.

Overview

Perfrom a list of operations on date fields.

circle-exclamation

Ports

These are the input and output ports of this Action:

chevron-rightInput portshashtag
  • Default port - All the events to be processed by this Action enter through this port.

chevron-rightOutput portshashtag
  • Default port - Events are sent through this port if no error occurs while processing them.

  • Error port - Events are sent through this port if an error occurs while processing them.

Configuration

1

Find Date Operations in the Actions tab (under the Transformation group) and drag it onto the canvas.

2

To open the configuration, click the Action in the canvas and select Configuration.

3

Enter the operation and the required parameters:

Operation
Parameter

Add duration

  • Timestamp* - Select the field from the Listener or Action that contains the timestamp value.

  • Duration* - Select the field from the Listener or Action that contains the duration value.

  • Unit* - Select the unit of measurement (milliseconds, seconds, minutes, hours, days) used to calculate the new date.

  • Output field* - Give a name to the output field with this new value.

Subtract duration

  • Timestamp* - Select the field from the Listener or Action that contains the timestamp value.

  • Duration* - Select the field from the Listener or Action that contains the duration value.

  • Unit* - Select the unit of measurement (milliseconds, seconds, minutes, hours, days) used to calculate the new date.

  • Output field* - Give a name to the output field with this new value.

Timestamp difference

  • Timestamp* - Select the field from the Listener or Action that contains the timestamp value.

  • Timestamp 2* - Select the field from the Listener or Action that contains the timestamp to compare against.

  • Result Unit* - Select the unit of measurement (milliseconds, seconds, minutes, hours, days) used to calculate the new date.

  • Output field* - Give a name to the output field with this new value.

4

Click Save to complete the process.

Last updated

Was this helpful?