Skip to content

Instantly share code, notes, and snippets.

@devsamuelv
Created November 30, 2021 02:59
Show Gist options
  • Save devsamuelv/10f25a91b89efc1e0ccec1fd8ba4679a to your computer and use it in GitHub Desktop.
Save devsamuelv/10f25a91b89efc1e0ccec1fd8ba4679a to your computer and use it in GitHub Desktop.
Time Until FRC Kickoff
import datetime
import dateutil.rrule
today = datetime.datetime.today()
kickoff = datetime.datetime(2022, 1, 8, 11, 30)
untill = kickoff - today
print(str(untill.days) + "." + str(untill.seconds))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment