Created
November 10, 2014 02:51
-
-
Save chipbell4/e0afdbc072f079ab7ccb to your computer and use it in GitHub Desktop.
One Liner trick for Zeller's Congruence Cheat
This file contains hidden or 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
| import datetime | |
| # This is TOTALLY in the builtin Python docs. | |
| # help(datetime.datetime) | |
| datetime.datetime.strptime('OctoBER 31, 2013', '%B %d, %Y').strftime('%A %B %d, %Y') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment