Last active
November 11, 2017 19:31
-
-
Save ollieparanoid/7bdb9ee85a7949e4a8bca6fca117cd50 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
#!/usr/bin/env python3 | |
import datetime | |
d0 = datetime.date.today() | |
d1 = datetime.date(2017, 5, 26) | |
delta = d0 - d1 | |
print("days running: " + str(delta.days)) | |
next_big = 200 | |
d2 = d1 + datetime.timedelta(days=next_big) | |
print("date for " + str(next_big) + " days: " + str(d2)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment