Postgresql Difference Between Two Dates Python Interpreter Vs Code