daily pastebin goal
84%
SHARE
TWEET

Untitled

a guest May 17th, 2018 110 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Input
  2. |start|end|
  3. |2017-06-01 09:30:00|2017-06-01 11:30:00|
  4. |2017-06-01 14:00:00|2017-06-01 14:30:00|
  5.  
  6. // Result
  7. |start|end|hours_active|
  8. |2017-06-01 09:30:00|2017-06-01 11:30:00|(9,10,11)|
  9. |2017-06-01 14:00:00|2017-06-01 14:30:00|(14)|
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
 
Top