關於IE11不能new date,轉換時間的方法

  //格式化日期 function FormatDate(strTime){ //這裏的 strTime = "2017-03-31 11:42:00"; // IE11裏面不能直接轉換帶"-",必須先替換成"/" strTime = strTime.replace("-","/"); strTime = strTime.replace("-","/"); va
相關文章
相關標籤/搜索