Created
March 10, 2015 00:35
-
-
Save Jonty/58f3d7484f5ea491940b to your computer and use it in GitHub Desktop.
dorkbot 5000
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
jonty@towel:~$ python | |
>>> import datetime | |
>>> from dateutil.relativedelta import relativedelta | |
>>> FIRST_DORKBOT = datetime.date(year=2001, month=11, day=7) | |
>>> (FIRST_DORKBOT + relativedelta(days=5000)).isoformat() | |
'2015-07-17' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment