About 780,000 results
Open links in new tab
  1. Set default format of datetimepicker as dd-MM-yyyy

    Oct 19, 2013 · You can set CustomFormat property to "dd-MM-yyyy" in design mode and use dateTimePicker1.Text property to fetch string in "dd/MM/yyyy" format irrespective of display …

  2. Display a Date in a Custom Format with DateTimePicker Control

    May 6, 2025 · Set the CustomFormat property to a format string. DateTimePicker1.Format = DateTimePickerFormat.Custom ' Display the date as "Mon 27 Feb 2012". …

  3. How to set the Format of the DateTimePicker in C#?

    Aug 2, 2019 · In this method, you can set the format of the DateTimePicker control programmatically with the help of given syntax: public …

  4. How do I set Custom Date Format in DateTimePicker (WinForms) - C#

    set the datepicker control format property set to use a custom format: DateTimePicker1.Format = DateTimePickerFormat.Custom after this by using Customformat you can set your own format. …

  5. DateTime picker C# format - Stack Overflow

    Jan 12, 2012 · To override the default DateTimePicker settings, you can do this: DateTimePicker1.Format = DateTimePickerFormat.Custom; DateTimePicker1.CustomFormat …

  6. DateTimePicker.CustomFormat Property (System.Windows.Forms)

    The Format property must be set to DateTimePickerFormat.Custom for this property to affect the formatting of the displayed date and time. The following table lists all the valid format strings …

  7. display-a-date-in-a-custom-format-with-wf-datetimepicker ... - GitHub

    The Windows Forms xref:System.Windows.Forms.DateTimePicker control gives you flexibility in formatting the display of dates and times in the control. The …

  8. DateTimePicker.Format Property (System.Windows.Forms)

    The Format property must be set to DateTimePickerFormat.Custom for the CustomFormat property to affect the formatting of the displayed date and time. To display only time in a …

  9. how to set format of date in Windows Forms date time picker?

    Feb 18, 2010 · The Format property sets the DateTimePickerFormat of the control. The default date Format is DateTimePickerFormat.Long. If the Format property is set to …

  10. Using the DateTimePicker Control in Windows Forms

    Sep 6, 2024 · To set up the DateTimePicker control, you first need to add it to your form. This can be done by dragging and dropping the control from the toolbox onto the form. Once on the …

Refresh