Djokjula

matafe subathon ranked tracker

Sep 24th, 2021 (edited)
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. b=[17,50,21,3,5,23,9,57];
  2. n=Math.floor(Date.now()/6e4);
  3. tt=n-Math.floor(Date.parse("2021-9-24 10:48")/6e4);
  4. if(b.length%4==2){b=b.concat([Math.floor(n/60+2)%24,n%60]);};
  5. for(let i=0;i<b.length/4;i++) {t=tt-(b[4*i+2]-b[4*i])*60-b[4*i+3]+b[4*i+1];};
  6. h=Math.floor(t/60);
  7. d=Math.floor(h/24);
  8. d+" days "+h%24+" hours "+t%60+" minutes"
Advertisement
Add Comment
Please, Sign In to add comment