Vasu Gadhiya

Vasu Gadhiya

  • NA
  • 429
  • 102.9k

Calendar.SelectedDate not retrieve today's date.

Sep 7 2013 2:11 AM
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)