Date.prototype.getTime() - JavaScript | MDN

getTime() メソッドは、 ECMAScript 元期からの経過ミリ秒数を返します。