SOURCE

var validTime = new Date();
validTime.setTime(validTime.getTime() + (30 * 60 * 1000));
console.log(validTime.toGMTString());
console 命令行工具 X clear

                    
>
console