how to implements code for receiving a alert message?
hi all how to implements code for displaying alert message that alert message is when system time and our given time is same then it display a message as alert("you have a new message").if our given time is 04:22:00 when system time also same as our given time then receive message as alert.so kindly help any one of you to solve this problem 
how to implements code for receiving a alert message?
===

hi all how to implements code for displaying alert message that alert message is when system time and our given time is same then it display a message as alert("you have a new message").if our given time is 04:22:00 when system time also same as our given time then receive message as alert.so kindly help any one of you to solve this problem 