code for EDD alarm clock