java获取当前时间的年月日时分秒

java获取当前时间的年月日时分秒

解决方法:

例如,获取当前时间的年月日时分秒

String current_time=getFomartDate("yyyy-MM-dd HH:mm:ss")

getFomartDate:http://www.yayihouse.com/yayishuwu/chapter/1565

猜你喜欢

转载自blog.csdn.net/qq_30908729/article/details/82414551