Guest User

Untitled

a guest
Jul 28th, 2020
379
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. t = Math.floor(outPoint-time);
  2.  
  3. minut = Math.floor(t / 60);
  4. second = t % 60;
  5.  
  6. if(minut < 10)
  7. {
  8.  if(second < 10)
  9.  {
  10.   ['0' + minut + ':' + '0' + second];
  11.  }
  12.  else
  13.  {
  14.   ['0' + minut + ':' + second];
  15.  }
  16. }
  17.  
  18. else
  19. {
  20.  if(second < 10)
  21.  {
  22.   [minut + ':' + '0' + second];
  23.  }
  24.  else
  25.  {
  26.   [minut + ':' + second];
  27.  }
  28. }
  29.  
RAW Paste Data