描述:如何生成当前date类型时间 SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); String date = simpleDateFormat.format(new Date());