Reputation: 651
I want to set a custom format for DateTimePicker. My desired result is Wednesday/May 05/2019
and I'm using dddd/MMM MM/yyyy
as the CustomFormat.
In Visual Studio design form I see:
But when I run it and change the date from May 5th to May 31st:
The dddd
(day of week) gets updated correctly, but the date stays the same.
Upvotes: 0
Views: 33
Reputation: 843
I believe you may be confusing two different values.
MM
means the numeric value of the month. As long as your date is within May it will always be 05.
If your intent is that value be the day of the month, then try dd
dddd/MMM dd/yyyy
Upvotes: 2