This references Unix time which is seconds since the Unix epoch, but the code is using:

    Date.now()

which is *milliseconds* since the Unix epoch.