Turn servo when given time and rtc matches

Maybe taking the keypad input creates the problem. Thanks for your help, I appreciate it.