JS String转Date(yyyy-MM-dd)

var startTimestamp = new Date(startTime.replace(/-/g, "/"));

posted @ 2019-03-07 16:26  唐宋丶元明清  阅读(3104)  评论(0编辑  收藏  举报