Some of the higher-tech webpening ASP.NET is far more intelligent than HTML controls. One of them is the Calendar control.
The following code is part of Calendar.aspx. Code provides two ways to set the control settings: Browse the calendar and select the date; enter the date according to the date format, confirm the selection. This method is supported by the .NET Convert class.