@@ -0,0 +1,1532 @@
+package com.xplus.commons.util.file;%0D%0A%0D%0Aimport java.io.File;%0D%0Aimport java.io.IOException;%0D%0Aimport java.nio.file.Files;%0D%0Aimport java.nio.file.Path;%0D%0Aimport java.nio.file.Paths;%0D%0Aimport java.nio.file.attribute.BasicFileAttributes;%0D%0Aimport java.text.DateFormat;%0D%0Aimport java.text.MessageFormat;%0D%0Aimport java.text.SimpleDateFormat; %0D%0A%0D%0Apublic class ReadFileCreateTime %7B%0D%0A  %0D%0A  public static void main(String%5B%5D args) throws IOException %7B%0D%0A    %0D%0A    if (args.length == 0) %7B%0D%0A      System.out.println(%22%E8%BE%93%E5%85%A5%E4%B8%80%E4%B8%AA%E6%96%87%E4%BB%B6%E7%9A%84%E7%9B%AE%E5%BD%95%EF%BC%8C%E6%9F%A5%E7%9C%8B%E5%88%9B%E5%BB%BA%E6%97%B6%E9%97%B4%E5%92%8C%E4%BF%AE%E6%94%B9%E6%97%B6%E9%97%B4%E3%80%82%22);%0D%0A      return;%0D%0A    %7D%0D%0A    %0D%0A    String basePath = args%5B0%5D;%0D%0A    File file = new File(basePath);%0D%0A    if (!file.isDirectory()) %7B%0D%0A      System.out.println(MessageFormat.format(%22%5B%7B0%7D%5D%E4%B8%8D%E6%98%AF%E4%B8%80%E4%B8%AA%E6%96%87%E4%BB%B6%E7%9B%AE%E5%BD%95%E3%80%82%22, basePath));%0D%0A      return;%0D%0A    %7D%0D%0A    %0D%0A    check(file);%0D%0A  %7D%0D%0A  %0D%0A  public static void check(File file) throws IOException %7B%0D%0A    if (file.isDirectory()) %7B%0D%0A      File %5B%5D mFile = file.listFiles();%0D%0A      for (File f : mFile) %7B%0D%0A        check(f);%0D%0A      %7D%0D%0A    %7D else %7B%0D%0A      String fileName = file.getAbsolutePath();%0D%0A      Path path = Paths.get(fileName);%0D%0A      BasicFileAttributes attr = Files.readAttributes(path, BasicFileAttributes.class);%0D%0A      System.out.println(%22=====%3E File:%22 + fileName);%0D%0A      DateFormat df = new SimpleDateFormat(%22yyyy-MM-dd HH:mm:ss.SSS%22);%0D%0A      System.out.println(%22DateCreated: %22 + df.format(attr.creationTime().toMillis()));%0D%0A      System.out.println(%22DateCreated: %22 + attr.creationTime());%0D%0A      System.out.println(%22LastUpdated: %22 + attr.lastModifiedTime());%0D%0A    %7D%0D%0A  %7D%0D%0A%0D%0A%7D%0D%0A

Read File DateTime.