Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wpf Extended Toolkit: DateTimePicker

I'm trying to format the string to look like this:

17-Jan-14 08:00:00 PM

This is what I have so far, how can I make the month portion to be alphabetical vs numeric

Code:

<wpfTool:DateTimePicker
                        Name="DTP_from_TAtab" 
                        Format="Custom" 
                        FormatString="dd-MM-yy hh:mm:ss tt"
                        TimeFormat="Custom"
                        TimeFormatString="hh:mm:ss"
like image 797
kknaguib Avatar asked Jan 11 '23 02:01

kknaguib


1 Answers

Use MMM instead of MM

FormatString="dd-MMM-yy hh:mm:ss tt"
like image 93
JaredPar Avatar answered Feb 01 '23 15:02

JaredPar