1.date对象

1.new Date();

  不传任何参数返回 当前的时间;

  Wed Jul 19 2017 14:26:40 GMT+0800 (中国标准时间);

2.new Date(6000);

  如果有参数,就会返回 从1970年8点的时间+上参数的值(毫秒数);

  Thu Jan 01 1970 08:00:06 GMT+0800 (中国标准时间);

原文地址:https://www.cnblogs.com/han-ying/p/7205695.html