kknaguib
kknaguib

Reputation: 749

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"

Upvotes: 4

Views: 6346

Answers (1)

JaredPar
JaredPar

Reputation: 754715

Use MMM instead of MM

FormatString="dd-MMM-yy hh:mm:ss tt"

Upvotes: 9

Related Questions