java 获取当前年月日 java如何得到年月日?
java如何得到年月日?//获取long type long L的当前时间=System.currentTimeMillis公司()//new date pair date date=new date
java如何得到年月日?
//获取long type long L的当前时间=System.currentTimeMillis公司()//new date pair date date=new date(L)//转换日期输出格式simpledateformat dateformat=new simpledateformat(“yyyy-MM-DD HH:MM:SS”)系统输出打印( 日期格式.format(日期)