Date date = new Date();
SimpleDateFormat format = new SimpleDateFormat("yy/MM/dd hh:mm:ss");
String time = format.format(date);
Java时间格式控制
猜你喜欢
转载自blog.csdn.net/whiteblack_dream/article/details/74980462
今日推荐
周排行