Last active
September 26, 2019 17:44
-
-
Save mwjcomputing/ce8fbef4c78c797a0544ea85ca976c73 to your computer and use it in GitHub Desktop.
A simple Python script to calculate days until Converge 2020.
This file contains hidden or 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
# ================================================== | |
# = FileName: daysTillConverge2020.py | |
# = Author: Matt Johnson (@mwjcomputing) | |
# = Description: Calculates days until Converge 2020 | |
# ================================================== | |
# Import datetime module | |
import datetime | |
# Set start of Converge 2020 date and time | |
ConvergeDate = datetime.datetime(2020,5,14,8,0) | |
# Get current date and time | |
Today = datetime.datetime.today() | |
# Calculate delta | |
DaysBetween = ConvergeDate - Today | |
# Print output | |
print("There are {0} days until Converge 2020.".format(DaysBetween.days)) | |
print("Don't forget to grab your ticket today at https://convergeconference.org.") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment