tDate(slotDateLocal)
        datepickerLocal.data("daterangepicker").setEndDate(slotDateLocal)

        const timePassed = slotDate.getTime() / 1000 - genesisTimeStamp
        const daysPassed = Math.max(0, Math.floor(timePassed / 60 / 60 / 24))
        beaconchainDay.innerText = daysPassed
        epoch.innerText = Math.max(0, Math.floor(slot / slotsPerEpoch))
        epochLink.href = `/epoch/${epoch.innerText}`
      }
    }

    function processTime(date, isUtc) {
      const timeStamp = date.toDate().ge