Skip to content

Instantly share code, notes, and snippets.

@woodb
Created February 23, 2016 16:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save woodb/468827d960ee8bc9a145 to your computer and use it in GitHub Desktop.
Save woodb/468827d960ee8bc9a145 to your computer and use it in GitHub Desktop.
from datetime import datetime, timedelta
current_date = datetime(1980, 1, 1)
while current_date < datetime.now():
current_date_str = current_date.strftime("%b+%d%%2C+%Y")
print(current_date_str)
current_date += timedelta(days=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment