dir = getDirectory("home")+"Downloads/stack3"+File.separator;   run("Image Sequence...", "open=&dir sort");   for (i=1; i<=nSlices; i++) {      setSlice(i);      name = getMetadata("label");      date = File.dateLastModified(dir+name);      words = split(date, ": ");      hour = parseInt(words[3]);      min = parseInt(words[4]);      sec = parseInt(words[5]);      print(name, hour, min, sec);   }