Skip to content

Time

Time processing: parsing and formatting time values.

FieldTypeRequiredDescription
descriptionstringdescribe this step.
conditionlua-expression (string)Only run this action if the specified condition is met.
input-fieldevent-field (string)Field that provides an input time. If not provided, use current time.
output-fieldevent-field (string)Field to contain time as a string.
input-timezonestringIf input is provided, this is its timezone.
output-timezoneiana-timezone (string)Timezone for output time.
input-formattime-format (string)Time format for input time, if provided.
input-formatsstringMultiple input time formats which will be tried in turn for conversion.
output-formattime-format (string)Time Format for output time. Default is “%Y-%m-%dT%H:%M:%S%.3fZ”.
time-range-conditionsTime Range ConditionsDescribe how special time ranges are interpreted.
localLocalTreat the following fields as using the local timezone, if none are specified the utc timezone is assumed.
deltatime:deltaAdd or subtracts specified amount of time to the timestamp (now is used if input-field is not specified).
zero-timeboolean (bool)Set the time component of the output time to 00:00:00.000.
suppress-warningsboolean (bool)Suppress warnings generated by this action.
FieldTypeRequiredDescription
timesstring.
output-fieldsobject.
time-range-outputobject.
ValueNameDescription
inputinputInput
outputoutputOutput
bothbothBoth
utcutcUtc