This is the source that shows how to borrow this script:
http://www.bellsnwhistles.com/digclock.txt