Anyone Can Help Me?

i want to make digital clock with format XX XX XX using 7 segment and PIC16F877 . Do you have sample code in basic using DS1305 ? or any source or reference or sample circuits to build digital clock using DS1305 ?