Skip to content

Instantly share code, notes, and snippets.

@neilbags
Created October 11, 2022 22:35
Show Gist options
  • Save neilbags/72063182ed8becda879c99f11df10ff7 to your computer and use it in GitHub Desktop.
Save neilbags/72063182ed8becda879c99f11df10ff7 to your computer and use it in GitHub Desktop.
iso2unix
#!/usr/bin/python3
import fileinput
import dateutil.parser as dp
for line in fileinput.input():
print(dp.parse(line).timestamp())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment