Python Format Current Datetime Sql Convert Int To Char