JavaScript: Date Object
navigator や window オブジェクトではないので、 newを使う必要があります。