Created
August 4, 2015 21:57
-
-
Save datamafia/f9b728fb53eee38bce68 to your computer and use it in GitHub Desktop.
Shortest Possible Path to Unix Epoch Time in seconds
This file contains hidden or 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
import calendar | |
from time import gmtime | |
print calendar.timegm(gmtime()) | |
################################### | |
# Follow Me on Twitter @datamafia # | |
################################### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment