- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2021-05-27T15:53:49+09:00","default:ryuichi","ryuichi")
#author("2021-05-27T15:55:34+09:00","default:ryuichi","ryuichi")
* Dateオブジェクトの最大値・最小値 [#q2fd8c7a]
** 最小値 [#qd9988fe]
> dt = new Date(-8640000000000000)
-271821-04-20T00:00:00.000Z
> dt = new Date(-8640000000000001)
Invalid Date
> dt = Date.parse("-271821-04-20T00:00:00.000Z")
-8640000000000000
> dt = Date.parse("-271821-04-19T00:00:00.000Z")
NaN
- ''-271821-04-20T00:00:00.000Z''
** 最大値 [#qb8b0ead]
> dt = new Date(864000000000000)
+029349-01-26T00:00:00.000Z
> dt = Date.parse("+029349-01-26T00:00:00.000Z")
864000000000000
- ''+029349-01-26T00:00:00.000Z''
** 参考 [#l8e5db57]
- https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Global_Objects/Date
- https://stackoverflow.com/questions/11526504/minimum-and-maximum-date