回复技术·学习星期四小武
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); String date=sdf.format(new Date());
yyyy-MM-dd 中的MM一定要大写.
Java, 时间输出格式
Rss feed
Comments feed