January 24, 2009 at 12:16 AM
man u have a concept of threads.
declare a thread and have it running, in that u write d code for ur alert & to retrieve d time .
I think this will have some performance on ur application.
will get back to u with more.