09 2022 档案
摘要:1.秒转换成多少天多少小时多少分多少秒 `` 点击查看代码 // 秒转换成时间 function formatSeconds(value) { var theTime = parseInt(value); // 需要转换的时间秒 var theTime1 = 0; // 分 var theTime2
阅读全文
摘要:// 获取天气状态 getWeather: function () { var _this = this; $.ajax("https://devapi.qweather.com/v7/weather/now?location=105.148371,25.370256&key=a580a69c104
阅读全文
摘要:1.对Date的扩展,将 Date 转化为指定格式的String 1.(new Date()).Format("yyyy-MM-dd hh:mm:ss.S") ==> 2006-07-02 08:09:04.423 2.(new Date()).Format("yyyy-M-d h:m:s.S")
阅读全文