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.
you can simple processing beyond years, hours, , mins (months tough)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)
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk [SOLVED] countdown script
Ubuntu
Comments
Post a Comment