Skip to content

Instantly share code, notes, and snippets.

@AutomatedTester
Created September 19, 2009 08:46
Show Gist options
  • Select an option

  • Save AutomatedTester/189446 to your computer and use it in GitHub Desktop.

Select an option

Save AutomatedTester/189446 to your computer and use it in GitHub Desktop.
'''
Script for working out the amount of time till GTAC
'''
__author__ = 'David Burns'
def whenIsGtac():
from datetime import datetime
now = datetime.now()
print 'You have ' + str(datetime(year=2009,month=10,day=21,hour=7,minute=00) - now) + ' time left till GTAC! \nBut you have ' + str(datetime(year=2009,month=10,day=19,hour=7,minute=00) - now) + ' till your slides have to be in! \nStop being so lazy!!!'
if __name__ == "__main__":
whenIsGtac()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment