BetweenHours
Checks whether the given value is within the specified time (hour) range.
python · Filters And Transformers
Details
| ID | BetweenHours |
|---|---|
| Language | python |
| From Version | 5.0.0 |
| Docker Image | demisto/python3:3.12.13.10404775 |
| Tags | transformer date |
README
Checks whether the given value is within the specified time (hour) range.
Script Data
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | transformer, date |
| Cortex XSOAR Version | 5.0.0 |
Inputs
| Argument Name | Description |
|---|---|
| value | The value to check. |
| begin_time | The start time range in the format HH:MM:SS. |
| end_time | The end time range in the format HH:MM:SS. |
Outputs
| Path | Description | Type |
|---|---|---|
| BetweenHours.result | Whether the input hour is between the given hours. | boolean |
| BetweenHours.value | The value to check. | string |
| BetweenHours.begin_time | The start time range in the format HH:MM:SS. | string |
| BetweenHours.end_time | The end time range in the format HH:MM:SS. | string |
commonfields: id: BetweenHours version: -1 name: BetweenHours fromversion: 5.0.0 comment: Checks whether the given value is within the specified time (hour) range. script: '' type: python tags: - transformer - date enabled: true args: - name: value required: true description: The value to check. - name: begin_time required: true description: The start time range in the format HH:MM:SS. - name: end_time required: true description: The end time range in the format HH:MM:SS. outputs: - contextPath: BetweenHours.result description: Whether the input hour is between the given hours. type: boolean - contextPath: BetweenHours.value description: The value to check. type: string - contextPath: BetweenHours.begin_time description: The start time range in the format HH:MM:SS. type: string - contextPath: BetweenHours.end_time description: The end time range in the format HH:MM:SS. type: string scripttarget: 0 isllm: false subtype: python3 dockerimage: demisto/python3:3.12.13.10404775 runas: DBotWeakRole tests: - No test