阅读背景:

js 毫秒转换为标准时间

来源:互联网 
function dateForm(time){
                var unixTimestamp = new Date( 1477386005*1000 );
                commonTime = unixTimestamp.toLocaleString();
            }
            Date.prototype.toLocaleString = function() {
                return this.getFullYear() + "/" + (this.getMonth() + 1) + "/" + this.getDate() + "/" + this.getHours() + ":" + this.getMinutes() + ":" + this.getSeconds();
            };
function dateForm(time){
                va



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: