Details
| ID | CalculateTimeDifference |
|---|---|
| Language | javascript |
| From Version | 5.0.0 |
| Tags | Utilities |
README
Calculate the time difference, in minutes
Script Data
| Name | Description |
|---|---|
| Script Type | javascript |
| Tags | Utilities |
Used In
This script is used in the following playbooks and scripts.
- Impossible Traveler
- Wait Until Datetime
Inputs
| Argument Name | Description |
|---|---|
| start_time | The time at which travel started. |
| end_time | The time at which travel ended. |
Outputs
| Path | Description | Type |
|---|---|---|
| Time.Difference | Calculated time difference in minutes. | Unknown |
| Time.Start | Start time. | Unknown |
| Time.End | End time. | Unknown |
commonfields: id: CalculateTimeDifference version: -1 name: CalculateTimeDifference type: javascript tags: - Utilities comment: Calculate the time difference, in minutes. enabled: true script: '-' args: - name: start_time required: true description: The time at which travel started. - name: end_time required: true description: The time at which travel ended. outputs: - contextPath: Time.Difference description: Calculated time difference in minutes. - contextPath: Time.Start description: Start time. - contextPath: Time.End description: End time. scripttarget: 0 runas: DBotWeakRole tests: - Impossible Traveler - Test fromversion: 5.0.0