Replace all Chinese characters of the converted time

var t = 1500514159000;
            t = new Date( t );
            t = t.toLocaleString();

            console.log( t.replace(/[\u4e00-\u9fa5]/g,"") );

 
 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326023676&siteId=291194637