SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");String s = sdf.format(new Date());Date date = sdf.parse(s);
时间: 2024-10-10 17:38:04
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");String s = sdf.format(new Date());Date date = sdf.parse(s);