I have a form that has CalenderControl to identify semester beginning date and a label.
When the Semester Beginning is selected, calculate the number of days by subtracting the today’s date from the selected date. Then display
the number of days between the beginning of the semester and today's date in Label.
sbinyamin
Member
33 Points
25 Posts
Calender Control
Mar 24, 2011 10:00 PM|LINK
I have a form that has CalenderControl to identify semester beginning date and a label. When the Semester Beginning is selected, calculate the number of days by subtracting the today’s date from the selected date. Then display the number of days between the beginning of the semester and today's date in Label.
How can I do it?
sansan
All-Star
53942 Points
8147 Posts
Re: Calender Control
Mar 24, 2011 11:06 PM|LINK
You can use Calendar SelectedDateChanged event and set the label text to the date difference.
sbinyamin
Member
33 Points
25 Posts
Re: Calender Control
Mar 26, 2011 03:33 PM|LINK
Thank you