select MINUTE(date) from t_test; year month day hour minute second --对应年月日时分秒
select date from t_test
select MINUTE(createtime),to_char(sysdate(),'yyyy-MM-dd')
select TIMESTAMPDIFF(minute,date,now()),date from t_test
DateUtil.between(new Date(),new Date(),DateUnit.MINUTE,false)