Date的参数是13位的long类型,所以定义要*1000L(一定要加L,转换成Long类型). 原文链接:https://rumenz.com/examples/java/java-timestamp-to-date.html. <上一篇.
確定! 回上一頁