简体   繁体   中英

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"

使用MMM而不是MM

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM