Pathlib Python Get Current Year Postgresql