摘要: 日期格式转化为时间戳: function timeTotimestamp(date) { var time = new Date(date).getTime() / 1000; //除以1000为秒,否则为毫秒 return (time); } 时间戳转化为日期格式: function timest 阅读全文
posted @ 2018-04-02 15:02 提子橘子 阅读(198) 评论(0) 推荐(0) 编辑