Function: Add Date & Time

Overview

This function adds fields containing the current date and time or any other dates relative to today

Description

The main purpose of this function is to add the current time to each event, or a time offset by a certain number of days relative to the current one. You can choose the name of the field to save the time. This is convenient for adding processing time for each event.
The function has 1 input and 1 output.
The function accepts events, adds the field specified in the parameters, and sends it to the output

Function Schema

Examples

To add the current time to each event and then process the events, insert the function block into the event chain. In the function parameters, set Field Name = currentDate and Days Offset = 0.