I am developing an algorithm with Postgres (PL/pgSQL) and I need to calculate the number of working hours between 2 …