时间:2024-11-01 19:48:00
1、我们这里需要hutool的jar的工具包,所以字项目中引入他
3、DateUtil.formatChineseDate(date,false);获取到大写的字如图
5、再次运行得到结果:二〇一九年一十月三十一日