Sql Year Date Function In Python Example