[英]Wpf Extended Toolkit: DateTimePicker
I'm trying to format the string to look like this: 我正在尝试将字符串格式化为如下所示:
17-Jan-14 08:00:00 PM 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"
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.