Created
December 31, 2016 06:35
-
-
Save jsundram/f4dd2bf70cc9d4731391b91cd777b0d6 to your computer and use it in GitHub Desktop.
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
seconds_per_year = 365*24*3600 | |
new_year = time.mktime(time.strptime("01/01/2017 0:0:0", "%m/%d/%Y %H:%M:%S")) | |
print "wishing everyone a happy %.1f through %.1f" % (new_year, new_year + seconds_per_year) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment