The DateTimePicker control is used to select a date and/or time. When a date is being selected, AJAX is used to automatically update the DropDownList for the day component to have the correct number of days for the month and year displayed and, if included in the selected day format, updates the day of the week. The date and/or time can be displayed in either order on one or two lines.