另一方法:
string str = " 2011-3-18 " ;
Response.Write(Convert.ToDateTime(str).ToString( " yyyy年MM月dd日 ddd " , new System.Globalization.CultureInfo( " zh-CN " )));
// 结果:2011年03月18日 周五
另一方法:
string str = " 2011-3-18 " ;
Response.Write(Convert.ToDateTime(str).ToString( " yyyy年MM月dd日 ddd " , new System.Globalization.CultureInfo( " zh-CN " )));
// 结果:2011年03月18日 周五