问题:在使用date_format将年月日转换为年月时,月份总是打印为00解决:使用大M表示月份 例:date_format([日期变量],'yyyy-MM')若使用date_format([日期变量],'yyyy-mm'),则会出现月份为0的情况。