Python Format Current Datetime Sql Convert Text To Number