//系统当前时间var now = new Date();var year = now.getFullYear();var month = now.getMonth() + 1;var day = now.getDate();var currentime = year + "-" + month + "-" + day;currentimes = Date.parse(new Date(currentime));