Alarm in Sticky Note

I'm writing a program like Sticky Note in Windows but I do not know what is the best algorithm for alarming (daily , weekly, monthly...)
Please help me!
Thanks!
Store the old time somewhere (.ini, registry, etc.) and check the current time against the old time.
Topic archived. No new replies allowed.