Where Date.now() and new Date() get the time, as epoch milliseconds. Defaults to the system clock; a test pins it so results do not depend on when the test runs.
Date.now()
new Date()