Skip to main content


This Script is part of the Common Scripts Pack.#

Supported versions

Supported Cortex XSOAR versions: 6.0.0 and later.

Takes UTC and converts it to the specified timezone. Format must match the UTC date's format and output will be the same format. Can use in conjunction with ConvertDateToString

Script Data#

Script Typepython3
Tagstransformer, date


Argument NameDescription
valueTime in UTC in the format specified
formatFormat that the input expects, and output will format to (i.e "%Y-%m-%d %H:%M:%S")
timezoneTimezone to be converted to (i.e. 'US/Eastern', 'Etc/Greenwich', 'Canada/Eastern'). Review documentation on for more available timezones .


There are no outputs for this script.