SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");这样会出现12小时制的时间
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");这样是24小时的时间。