Skip to main content

DateTimeToADTime

This Script is part of the Community Common Scripts Pack.#

Supported versions

Available on Cortex XSOAR (versions 6.0.0 and later) and Cortex XSIAM.

Converts unix time to AD Integer8 time. This is used in many AD date fields like pwdLastSet.

Script Data#


NameDescription
Script Typepython3
Tagsactive directory, date

Inputs#


Argument NameDescription
days_agoNumber of days before todays date.

Outputs#


The converted AD time.