Ankush Singh
How to format particular date in Calendar control in Winform?
By Ankush Singh in Windows Forms on Oct 22 2012
  • Dhaval Rathod
    Aug, 2020 4

    1. DateTimePicker dynamicDTP = newDateTimePicker();
    2. dynamicDTP.Name = "DyanmicDateTimePicker";
    3. dynamicDTP.Location = new System.Drawing.Point(12, 12);
    4. dynamicDTP.Size = new System.Drawing.Size(200, 25);
    5. dynamicDTP.Width = 200;
    6. dynamicDTP.Height = 25;
    7. dynamicDTP.CustomFormat = "MMMM dd, yyyy - dddd";
    8. dynamicDTP.Format = DateTimePickerFormat.Custom;

    • 1
  • Safayat Zisan
    Apr, 2015 23

    use System.DateTime.Now

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS