摘要: //函数调用传参格式为 2018-6-6或者2018.6.6//如:startUnix(2018-6-6) 返回的时间戳格式‘1528300799’ function startUnix($date) { return(new Date(Date.parse($date.replace(/-/g, "/")))).getTime() / 1000; } function endUnix... 阅读全文
posted @ 2018-05-11 15:51 web_study 阅读(11142) 评论(0) 推荐(0)

哈哈