Sql Year Date Function In Python Programming