backoffice.js 193 B

1234567
  1. function diff(t0,t1) {
  2. return ((t1 - t0) / 1000).toFixed(0);
  3. }
  4. document.getElementById("q_lock_age").innerText = diff( Date.parse(document.getElementById("q_lock").innerText), Date.now());