10
Answers

Calendar.SelectedDate not retrieve today's date.

Vasu Gadhiya

Vasu Gadhiya

11y
1.2k
1
I used CalendarControl in asp.net.

i write code in selection change event.
-------------------------------------------

void Selection_Change()
{
 Label1.Text = Calendar1.SelectedDate.ToString("dd-MM-yyyy");
}
-------------------------------------------

if i select 13 September 2013 than it retrieve 
13-09-2013
but when i select today's date it not retrieve today's date.
label1 text is still 13-09-2013

??

Answers (10)