JS: Date.now

By Xah Lee. Date: . Last updated: .
Date.now()

Return a integer that is the milliseconds representation of current datetime.

Milliseconds time representation start on January 1, 1970, UTC.

console.log(Date.now());
// 1770176983242

JavaScript. Date