在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
情况是这样的:换了台英文windows2003的64位的服务器,装了.net2.0,ii6,
System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo("zh-CN", true);
culture.DateTimeFormat.ShortDatePattern = "yyyy-MM-dd"; System.Threading.Thread.CurrentThread.CurrentCulture = culture; 不知大家有没有这种情况,是怎么解决的?谢谢。 System. Globalization. CultureInfo culture = new System. Globalization. CultureInfo("en-US" , true); //英文 culture. DateTimeFormat. AbbreviatedMonthNames. ToString(); System. Threading. Thread. CurrentThread. CurrentCulture = culture; |
请发表评论