I made a clock using relays.
I had to use a double relay for the minute but it did work, only problem it didnt work when I left the server and changing the time didnt work out all that well.
You have to use relays, on print overflow, etc.
Shouldnt be to hard to find out.