arduino Count down 7 segment display

Does anyone have a code for a simple 7 segment display countdown counter?

Yes.

These seem to be a popular theme at the moment. Is it a school exercise? :
http://forum.arduino.cc/index.php?topic=491093.0