• Polyfill fallback to return the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC.

    To offer protection against timing attacks and fingerprinting, the precision of utcNow() might get rounded depending on browser settings. In Firefox, the privacy.reduceTimerPrecision preference is enabled by default and defaults to 20µs in Firefox 59; in 60 it will be 2ms.

    Returns number

    A Number representing the milliseconds elapsed since the UNIX epoch. *

    Since

    0.4.4

    Example

    let now = polyUtcNow();