In this 7-Segment Clock with PIC project, the program displays hour, minute and second on a 6-digit 7-segment display. And these 3 push buttons are for setting time. Note that this project is only for learning purpose and if you want to make a real and accurate digital clock, you should refer to this project.
download the project here.