Skip to content

Instantly share code, notes, and snippets.

@AJ-Acevedo
Created May 6, 2021 02:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AJ-Acevedo/3540ff30b42278f94e313524298dcde6 to your computer and use it in GitHub Desktop.
Save AJ-Acevedo/3540ff30b42278f94e313524298dcde6 to your computer and use it in GitHub Desktop.
Python Epoch time converter for Cisco CDR
#!/usr/bin/env python3
# PyEpoch
# Python Epoch time converter for Cisco CDR
# Version 0.1
# Author: AJ Acevedo - GitHub @AJ-Acevedo
import datetime
epoch_time = 1617372006
datetime_time = datetime.datetime.fromtimestamp(epoch_time)
print(datetime_time)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment