FormattedDateToEpoch
Filters And Transformers Pack.#
This Script is part of theConverts a custom-formatted timestamp to UNIX epoch time. Use it to convert custom time stamps to a XSOAR date field. If you pass formatter argument, we will use it to transform. If not, we will use dateparser.parse for transforming. For more info, see: https://docs.python.org/3.7/library/datetime.html#strftime-and-strptime-behavior
#
Script DataName | Description |
---|---|
Script Type | python3 |
Tags | transformer, date |
Cortex XSOAR Version | 5.0.0 |
#
InputsArgument Name | Description |
---|---|
value | Time stamp to convert |
formatter | Python 'strptime' formatter string |
#
OutputsThere are no outputs for this script.