Skip to content

Instantly share code, notes, and snippets.

@saltlakeryan
Created September 30, 2015 16:53
Show Gist options
  • Save saltlakeryan/7f1080ad02374ae5a687 to your computer and use it in GitHub Desktop.
Save saltlakeryan/7f1080ad02374ae5a687 to your computer and use it in GitHub Desktop.
Print out a string of characters that represents the current time
import time
timestr = time.strftime("%Y%m%d-%H%M%S")
print timestr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment