time.toint Action
This trigger action will convert a timestamp to an number representing the number of seconds and milliseconds since Unix epoch (midnight Jan. 1, 1970).
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 is to be converted. |
Action variables
Name |
Type |
Description |
---|---|---|
$(action.X.seconds) |
Integer |
The timestamp converted to seconds since Unix epoch. |
$(action.X.milliseconds) |
Integer |
The timestamp converted to milliseconds since Unix epoch. |