Python Path Get String Length Sql Function To Get Year From Date