I want help regarding building an analog clock using servos

Hi, I'm building an analog clock with 12 hours and minuter marks at 5 mins, using 2 servo motors. I want to add two buttons to the setup to adjust hours and minutes but am confused with the circuit. I can't seem to work out the code and the library file for it so please if you can help...
I am using arduino uno atmega328p with 2* 9g servos.
Please help with the circuit and a suitable code.

You mean hobby servos, not servomotors(!)

Have you tried things like the servo sweep example yet? Remember some of the tutorials
suggest (WRONGLY) to use the Arduino 5V as power to the servo. Avoid that mistake, separate
~6V power for servos(*), common the grounds.

(*) Servos need an amp or so each - do not skimp on your servo power supply or things
will not work.

Yeah, hobby servos!
I'll try that and see if it helps
thanks in the mean time!

Realize that servos eat up power. Always. Even to stay still. A clock is a very very wasteful and pointless thing to put servos and a microcontroller into. Quartz clock cores are dirt cheap.

INTP:
A clock is a very very wasteful and pointless thing to put servos and a microcontroller into.

But it might be fun.

I think it would be nice to see the hand rotate quickly from (say) 11:59 back to 00:00 because the servo had got to the end of its range.

The bigger problem with using a servo for a clock is that most of them only move through about 180 deg or a bit less. Sail Winch servos can move through about 3 full rotations with position control.

A clock using 2 x 180 deg servos with the hours in the bottom half and the minutes in the top half of the dial would be interesting.

...R

INTP:
Realize that servos eat up power. Always. Even to stay still. A clock is a very very wasteful and pointless thing to put servos and a microcontroller into. Quartz clock cores are dirt cheap.

That's the answer to a question that noone asked.

MarkT:
That's the answer to a question that noone asked.

Thanks for the input.
I forgot about the forum rule that put you in charge and you made a rule about not helping possibly misguided ideas.

Calling some (beginner's ?) new project pointless is plain rude and unhelpful, that's what I'm objecting to.