awaking

导航

2018年7月15日 #

javascript将C#json序列化的Date对象转换成正常的Date格式

摘要: function ChangeDateFormat(cellval) { var date = new Date(parseInt(cellval.replace("/Date(", "").replace(")/" + ""), 10)); var month = date.getMonth() + 1 < 10 ? "0" + (date.ge... 阅读全文

posted @ 2018-07-15 10:13 awaking 阅读(130) 评论(0) 推荐(0)

2018年7月14日 #

C#MD5加密

摘要: protected string GetMd5String(string str) { MD5 md5 = MD5.Create(); byte[] buffer = System.Text.Encoding.UTF8.GetBytes(str); byte[] strBuffer = md5.Compu... 阅读全文

posted @ 2018-07-14 11:08 awaking 阅读(81) 评论(0) 推荐(0)