Skip to main content

BetweenHours

This Script is part of the Filters And Transformers Pack.#

Checks whether the given value is within the specified time (hour) range.

Script Data#


NameDescription
Script Typepython3
Tagstransformer, date
Cortex XSOAR Version5.0.0

Inputs#


Argument NameDescription
valueThe value to check.
begin_timeThe start time range in the format HH:MM:SS.
end_timeThe end time range in the format HH:MM:SS.

Outputs#


PathDescriptionType
BetweenHours.resultWhether the input hour is between the given hours.boolean
BetweenHours.valueThe value to check.string
BetweenHours.begin_timeThe start time range in the format HH:MM:SS.string
BetweenHours.end_timeThe end time range in the format HH:MM:SS.string