How can I set the date of a Calendar control to the current date?

Most of the time when using a calendar in your Windows or web
application, you’ll want to set its initial date to the current date. This can
be easily done using the SelectedDate property:


Calendar1.SelectedDate = System.DateTime.Now;

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top