format(A1,yyyy-MM-dd)将20230721转换成2023-07-21不成功呀?怎么回事呀?应该用什么公式呢
拼接
=CONCATENATE(left(A18,4),"-",mid(A18,5,2),"-",right(A18,2))
todate("20231105","yyyyMMdd","zh")
todate(a1,"yyyyMMdd","zh")