Created
February 11, 2019 17:49
-
-
Save j-faria/54aa87da716ebd7e212161d2bc451be1 to your computer and use it in GitHub Desktop.
Month name to number
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
months = { | |
'Jan': 1, | |
'Feb': 2, | |
'Mar': 3, | |
'Apr': 4, | |
'May': 5, | |
'Jun': 6, | |
'Jul': 7, | |
'Aug': 8, | |
'Sep': 9, | |
'Oct': 10, | |
'Nov': 11, | |
'Dec': 12 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment