I used this script in my own OS: HWP OS! http://scratch.mit.edu/projects/20706124 A simple clock to see the time, and to set a timer. Feel free to use this script in your own project, but please do mention my name...
I made this myself... The clock is from this website: http://www.nazia.nl/wordpress/?p=759