Nah I'll stick with the version Paul told me, at least I understand the code. Yours looks very complicated for me :P But thanks anyways..

Do you know of any method so that I can check if it's time for the alarm or not? Like let's say I set the alarm to 05:00 AM, how will I know when it is 05:00 AM?