Shoutbase/QB Time Activity Zap Custom Code

stormihoebe Sep 24th, 2019 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const { duration } = input
  2. const d = new Date(null)
  3. const t = d.setSeconds(duration)
  4. const time = `${d.getHours()}:${d.getMinutes()}`
  5. output = [{time}];
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand