Skip to content

Instantly share code, notes, and snippets.

@aprilspeight
Last active January 5, 2020 04:52
Show Gist options
  • Save aprilspeight/042ddeed4bf7549e01d65d133d98315a to your computer and use it in GitHub Desktop.
Save aprilspeight/042ddeed4bf7549e01d65d133d98315a to your computer and use it in GitHub Desktop.
today = date.today()
today_converted = date(today.year, today.month, today.day)
target_date = date(2020, 1, 6)
delta = target_date - today_converted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment