Smallest Real time clock?

Hello chrisknightly, Thank you. Which code can I use? Sense the avr one I have doesn't work what other sketch Can I use please?

Joseph