Created
January 16, 2017 12:44
-
-
Save pexceful/d7f74517359b1baa32cbc6ac7c087a58 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
from datetime import datetime | |
now = datetime.now() | |
print now | |
print now.month | |
print now.day | |
print now.year | |
print str(now.month) + str("%") + str(now.day) + str("%") + str(now.year) |
OmgImAlexis
commented
Jan 16, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment