Python Format Current Datetime Sql Convert Float To Int