Tomtom routing help

does the routing take into account open and close times of certain places

It does not take into account open hours of POIs, if that’s what you mean.
However, it does take into account a time road closure - e.g., a road closed between 10 p.m., and 6 a.m. will not be available if routing time will overlap with closure.