日期:2014-05-17 浏览次数:20368 次
JavaScriptSerializer jsSerializer = new JavaScriptSerializer();
DateTime d = DateTime.Parse("2013/11/21");
string d1 = jsSerializer.Serialize(d);
DateTime d2 = jsSerializer.Deserialize<DateTime>(d1);
JavaScriptSerializer jsSerializer = new JavaScriptSerializer();
DateTime d = DateTime.Parse("2013/11/21");
string d1 = jsSerializer.Serialize(d);
DateTime dss = jsSerializer.Deserialize<DateTime>(d1);
Response.Write(dss.ToString("yyyy/MM/dd"));