Skip to main content

Thread: countdown script


hi all.

possible create countdown script can countdown to
13.09.2013 13:00,
example open terminal window , show live countdown @ system start.

time symbolics end of 6 year long study

on advance.
kind regards.

certainly.

wouldn't know off top of head how in bash, here simple python version.

code:
from datetime import datetime  = datetime.now() date = datetime(2013, 9, 13, 13) #(year, month, day, hour) delta = date-now;  days = delta.days seconds = delta.seconds  print "t minus {0} days, {1} seconds".format(days, seconds)
you can simple processing beyond years, hours, , mins (months tough)


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk [SOLVED] countdown script


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account