摘要:
function getDateStr(seconds){ var date = new Date(seconds*1000) var year = date.getFullYear(); var month = date.getMonth() + 1; var day = date.getDate(); var hour ... 阅读全文
摘要:
function timeToMillion(startStr, endStr) { var times; //如果是2个参数就是时间差 if (endStr) { var startT = new Date(startStr).getTime() var endT = new Date(endStr).g... 阅读全文