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.