DateTimeToADTime
This Script is part of the Community Common Scripts Pack.#
Supported versions
Supported Cortex XSOAR versions: 6.0.0 and later.
Converts unix time to AD Integer8 time. This is used in many AD date fields like pwdLastSet.
Script Data#
| Name | Description |
|---|---|
| Script Type | python3 |
| Tags | active directory, date |
Inputs#
| Argument Name | Description |
|---|---|
| days_ago | Number of days before todays date. |
Outputs#
The converted AD time.