Sql Server Year Function In Python