Skip to content

Instantly share code, notes, and snippets.

@jsundram
Created December 31, 2016 06:35
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 jsundram/f4dd2bf70cc9d4731391b91cd777b0d6 to your computer and use it in GitHub Desktop.
Save jsundram/f4dd2bf70cc9d4731391b91cd777b0d6 to your computer and use it in GitHub Desktop.
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