Python Code To Get Current Year Postgres