Date.now()
The
Date.now()
static method returns the number of milliseconds elapsed since the
epoch
, which is defined as the midnight at the beginning of January 1, 1970, UTC.