Click here to Skip to main content
15,888,113 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

Could anybody please explain with an example how to use date and time controls in asp.net 4.5 where we can choose date and time in textboxes ?

Thank You
Posted

www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/Calendar/Calendar.aspx"
Calender extender-Just add to your text box
 
Share this answer
 
 
Share this answer
 
C#
DateTime.Now.ToString();
DateTime.Now.ToShortDateString();
DateTime.Now.ToLongDateString();
DateTime.Now.ToShortTimeString();
DateTime.Now.ToLongTimeString();
 
Share this answer
 
 
Share this answer
 
 
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