DateTimeNowToEpoch
Returns the current datetime as an epoch value for use in timestamp comparisons.
python · Community Common Scripts
Details
| ID | DateTimeNowToEpoch |
|---|---|
| Language | python |
| From Version | 6.9.0 |
| Docker Image | demisto/python3:3.12.13.10116658 |
README
Converts the current datetime to an epoch value for timestamp comparison operations
commonfields: id: DateTimeNowToEpoch version: -1 name: DateTimeNowToEpoch script: '' type: python tags: [] comment: Returns the current datetime as an epoch value for use in timestamp comparisons. enabled: true outputs: - contextPath: DateTimeNowEpoch description: The current date/time epoch as an integer value. type: number scripttarget: 0 subtype: python3 runonce: false dockerimage: demisto/python3:3.12.13.10116658 runas: DBotWeakRole fromversion: 6.9.0 tests: - DateTimeNowToEpoch_test