I want to insert date,month,year and events in a table,and retrieve the event of a particular day, when the date is selected from a date picker!!

I have been searching about it, but got no convincing ideas!!

please if someone could help me out...

thanks