DateTimeToADTime

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

python · Community Common Scripts

Details

IDDateTimeToADTime
Languagepython
From Version6.0.0
Docker Imagedemisto/python3:3.12.13.11879924
Tagsactive directory date

README

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.

args:
- defaultValue: '0'
  description: Number of days before todays date.
  name: days_ago
  required: true
comment: Converts unix time to AD Integer8 time. This is used in many AD date fields like pwdLastSet.
commonfields:
  id: DateTimeToADTime
  version: -1
dockerimage: demisto/python3:3.12.13.11879924
enabled: true
name: DateTimeToADTime
runas: DBotWeakRole
script: ''
scripttarget: 0
subtype: python3
tags:
- active directory
- date
type: python
fromversion: 6.0.0
tests:
- No tests (auto formatted)