Skip to content

Instantly share code, notes, and snippets.

@romach
Created April 11, 2017 21:31
Show Gist options
  • Save romach/0270e208eee5657b3849e96981617820 to your computer and use it in GitHub Desktop.
Save romach/0270e208eee5657b3849e96981617820 to your computer and use it in GitHub Desktop.
Print current time
from datetime import datetime
now = datetime.now()
print now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment