w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Remove space before day and month from DateTimePicker

you can apply customer format to your DateTimePicker control

read this for more detail : DateTimePicker.CustomFormat Property

Example

public void SetMyCustomFormat()
{
   // Set the Format type and the CustomFormat string.
   dateTimePicker1.Format = DateTimePickerFormat.Custom;
   dateTimePicker1.CustomFormat = "MMMM dd, yyyy - dddd";
}




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.