Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Input
- |start|end|
- |2017-06-01 09:30:00|2017-06-01 11:30:00|
- |2017-06-01 14:00:00|2017-06-01 14:30:00|
- // Result
- |start|end|hours_active|
- |2017-06-01 09:30:00|2017-06-01 11:30:00|(9,10,11)|
- |2017-06-01 14:00:00|2017-06-01 14:30:00|(14)|
Add Comment
Please, Sign In to add comment