Sql Extract Year From Datetime Python Documentation Random