File file=new File("E:\Demo");
System.out.println("mkdir:"+file.mkdir());
//修改日期,查看文件是否被修改
System.out.println("lastModified:"+file.lastModified());
Date date=new Date(1507346614451l);
SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
String s=sdf.format(date);
System.out.println(s);