Get working hours between two dates and times

My be easier to try and solve this using a Postgres SQL Connector. You can see an example of the postgres function here:

And here is an example of someone using the default postgres connector to access postgres functions from Tulip: