看看SimpleDateFormat
SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");sdf.format(new Date(myTimeAsLong));
上一篇 Java长号太大错误?
下一篇 运行javafx程序时InvocationTargetException
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号