Turn servo when given time and rtc matches

Yes. In the loop function it waits for the keypress and if the pressed key is '#' the function is called. In the meantime the rtc clock is ticking.