Skip to content

Instantly share code, notes, and snippets.

@Aeternam
Created December 9, 2016 03:15
Show Gist options
  • Save Aeternam/d8c22a8e63caac52e7f2bb5b129744eb to your computer and use it in GitHub Desktop.
Save Aeternam/d8c22a8e63caac52e7f2bb5b129744eb to your computer and use it in GitHub Desktop.
from datetime import datetime
datetime.now().strftime("%Y%m%d-%H%M")
@Aeternam
Copy link
Author

Aeternam commented Dec 9, 2016

Out[12]: '20161209-1107'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment