<div class="cnblogs_code">
date = time.substr(0,10);
hours = time.substring(11,13 minutes = time.substring(14,16 seconds = time.substring(17,19 timeFlag = date + ' ' + hours + ':' + minutes + ':' += timeFlag.replace(/-/g,"/"= = Date(timeFlag.getTime() + 8 * 3600 * 1000= timeFlag.getFullYear() + '-' + ((timeFlag.getMonth() + 1) < 10 ? "0" + (timeFlag.getMonth() + 1) : (timeFlag.getMonth() + 1)) + '-' + (timeFlag.getDate() < 10 ? "0" + timeFlag.getDate() : timeFlag.getDate()) + ' ' + timeFlag.getHours() + ':' + timeFlag.getMinutes() + ':' + (timeFlag.getSeconds() < 10 ? "0" +