Last active
January 9, 2024 22:08
-
-
Save antun/4964149 to your computer and use it in GitHub Desktop.
Converts time from seconds since 1970 to a human readable date
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys, time | |
if __name__ == '__main__': | |
args = sys.argv[1:] | |
for arg in args: | |
print(time.ctime( int(arg) )) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment