![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据格式处理
现充爆破师
这个作者很懒,什么都没留下…
展开
-
对数据库获取JSON格式的字符串的处理
以前是在网页进行JSON字符串进行处理,今天第一次在后台进行了一下JSON,记录一下{ "allCampus": {}, "detailCampus": [{ "campus": "63955574828690759681", "fee": "20", "feeStandard": "元/课时" }, { "campus": "63955581411734773761",...原创 2019-04-28 15:29:39 · 2959 阅读 · 0 评论 -
前端对 2019-01-21T06:25:50.000Z 格式处理
网上的处理方式都没有办法使用,都不是正常格式,所以记录一下var date = new Date('2019-01-21T06:25:50.000Z')var formatDate = date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate() + ' ' + (date.getHours()>...原创 2019-05-13 17:19:48 · 1756 阅读 · 0 评论 -
Tue May 14 2019 00:00:00 GMT+0800 格式处理
Map<String,Object>格式的数据{"teachDate":"Tue May 14 2019 00:00:00 GMT+0800"}String date = info.get("teachDate").toString();date = date.replace("Z", " UTC");// 是空格+UTCSimpleDateFormat format =...原创 2019-05-23 08:53:54 · 7259 阅读 · 0 评论