'Create the minimum datetime object Dim minDate As New DateTime(2000, 1, 1) 'Create the maximum datetime object Dim maxDate As New DateTime(2010, 1, 1) 'Assign the minimum datetime object to the WebMonthCalendar's MinDate WebMonthCalendar1.MinDate = minDate 'Assign the maximum datetime object to the WebMonthCalendar's MaxDate WebMonthCalendar1.MaxDate = maxDate