time.format
The time.format trigger action accepts a timestamp value and converts it to format specified.
Action
This trigger action is found under the Time heading.
Canvas
When dragged onto the canvas, the appearance of the action is a rectangle with two routing points.
The left routing point (red) is the failure route. This route will be taken if there is an error during execution.
The right routing point (green) is the success route. This route will be taken if action executes successfully.
Form
Parameters
Name | Type | Required | Descriptions | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Timestamp | String | Yes | The timestamp that needs to be formatted according to the $(time.now) format (2006-01-02T15:04:05.999999999Z) | ||||||||||||||||||||||
Format | String | Yes |
The Format defines the input format by showing how the reference time, defined to be. The following lists some of the recognizable formats:
For example: While defining the time.parse action use the Formats not the Type Timestamp: Trigger action output: |