标签:time() end amp simple gets time sql mes 时间戳
Date date = new Date(((java.sql.Timestamp) message.getSendTime()).getTime());
DateFormat format = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
format.format(date);
message.setSendTime(format.format(date));
标签:time() end amp simple gets time sql mes 时间戳
原文地址:https://www.cnblogs.com/airou/p/14674167.html