Click here to Skip to main content
15,875,017 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,
Did any one know how to get the day name in a calendar control in asp.net(c#).
for eg:
when i select the date in a calendar control it should display the selected day name. such as Tuesday.

thanks
Posted
Comments
Muralikrishna8811 27-Mar-12 4:48am    
Hi
try this
Calendar1.SelectedDate.DayOfWeek

Calendar1.SelectedDate.DayOfWeek
 
Share this answer
 
Calendar1.SelectedDate.ToString("dddd", New Globalization.CultureInfo("ar-SA").DateTimeFormat)

this code in ASp.net vb
Good luck =)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900