Although it does not use LEDs, I posted clock code that keeps excellent time (without the need for a RTC) based on TMRO here

http://www.picbasic.co.uk/forum/showthread.php?t=2129

You could use the time keeping part of the code for your clock time and change the display updates as required for your LED display. Reply back if you need more information.