日期格式問題
我的系統是中文的﹐用DateTime.Todat.ToString( "d MMM yy ")后變成 "3 四月 07 ",真是暈死啊~~~~
怎么變成 "3 Apr 07 "啊﹖
------解决方案--------------------将thread.current.culture社成en-us就行了
------解决方案-------------------- CultureInfo a=new CultureInfo( "en-US ",false);
System.Windows.Forms.Application.CurrentCulture=a;
MessageBox.Show(DateTime.Now.ToString( "dd MMMM yy "));
------解决方案--------------------CultureInfo a=new CultureInfo( "en-US ",false);
System.Windows.Forms.Application.CurrentCulture=a;
MessageBox.Show(DateTime.Now.ToString( "dd MMMM yy "));