jokefox:
But id rather learn exactly what its called.
It is not specifically called anything. It might be a barrier to you at the moment but it is not a specific thing.
All you are doing with the time is using buttons to generate a number and then writing that number to the registers in the real time clock module.
The basic technique is called a state change function where you detect when a button becomes pressed as opposed to just checking to see if it is currently being held down.
For an example look at the state change sketch in the examples section of the IDE. That counts the number of times a button is pressed and holds that value in a variable.