怎么算两个年月格式的月份差
202311
202310
DATEDIF(format(left("202311",4)+"-"+right("202311",2) + "-01","yyyy-MM-dd"),
format(left("202310",4)+"-"+right("202310",2) + "-01","yyyy-MM-dd"),"M")
DATEDIF(FORMAT(CONCATENATE("202312","01"),"yyyy-MM-dd"),FORMAT(CONCATENATE("202310","01"),"yyyy-MM-dd"),"M")