Last active
February 17, 2017 08:33
-
-
Save RenSys/1f638d223850988c7721c23595fbf121 to your computer and use it in GitHub Desktop.
Simple Date Calc using Pendulum
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
import pendulum | |
# pip install pendulum | |
if __name__ == '__main__': | |
_1st_jan_2011 = pendulum.create(day=1, month=1, year=2011) | |
print _1st_jan_2011.days_in_month |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment