Java时间格式控制

xiaoxiao2021-02-28  84

Date date = new Date(); SimpleDateFormat format = new SimpleDateFormat("yy/MM/dd hh:mm:ss"); String time = format.format(date);
转载请注明原文地址: https://www.6miu.com/read-70072.html

最新回复(0)