代码示例:(标识:eg_js_date_new_millisecond_minus)
<!DOCTYPE html>
<html>
<body>

<h2>JavaScript new Date()</h2>

<p>1970 年 1 月 1 日起的 100000000000 毫秒,大约是 1966 年 10 月 31 日:</p>

<p id="demo"></p>

<script>
var d = new Date(-100000000000);
document.getElementById("demo").innerHTML = d;
</script>

</body>
</html>
运行结果: