LocalDateTime time = techLogicTablePo.getCreateTime(); DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"); String createTime = dateTimeFormatter.format(time);
java8 LocalDateTime时间格式化
猜你喜欢
转载自www.cnblogs.com/liubaihui/p/10641829.html
今日推荐
周排行